Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
661d059b
Commit
661d059b
authored
Oct 04, 2012
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow users to disable epoll implementation on Linux by defining CPPA_POLL_IMPL
parent
89c1f5d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/middleman.cpp
src/middleman.cpp
+4
-4
No files found.
src/middleman.cpp
View file @
661d059b
...
@@ -73,12 +73,12 @@
...
@@ -73,12 +73,12 @@
#define DEBUG(unused) ((void) 0)
#define DEBUG(unused) ((void) 0)
#endif
#endif
#ifdef CPPA_LINUX
// use epoll event-loop implementation on Linux if not explicitly overriden
// use epoll event-loop implementation on Linux
// by using CPPA_POLL_IMPL, use (default) poll implementation otherwise
#if defined(CPPA_LINUX) && !defined(CPPA_POLL_IMPL)
# define CPPA_EPOLL_IMPL
# define CPPA_EPOLL_IMPL
# include <sys/epoll.h>
# include <sys/epoll.h>
#else // #ifdef CPPA_LINUX
#else
// use poll otherwise
# define CPPA_POLL_IMPL
# define CPPA_POLL_IMPL
# include <poll.h>
# include <poll.h>
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment