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
a9b54271
Commit
a9b54271
authored
Aug 04, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/no_POLLPRI_on_Windows' into develop
parents
7e4d70f2
afd1328d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
libcaf_io/caf/io/network.hpp
libcaf_io/caf/io/network.hpp
+7
-1
No files found.
libcaf_io/caf/io/network.hpp
View file @
a9b54271
...
@@ -106,7 +106,13 @@ namespace network {
...
@@ -106,7 +106,13 @@ namespace network {
// poll vs epoll backend
// poll vs epoll backend
#if !defined(CAF_LINUX) || defined(CAF_POLL_IMPL) // poll() multiplexer
#if !defined(CAF_LINUX) || defined(CAF_POLL_IMPL) // poll() multiplexer
constexpr
short
input_mask
=
POLLIN
|
POLLPRI
;
# ifdef CAF_WINDOWS
// From the MSDN: If the POLLPRI flag is set on a socket for the Microsoft
// Winsock provider, the WSAPoll function will fail.
constexpr
short
input_mask
=
POLLIN
;
# else
constexpr
short
input_mask
=
POLLIN
|
POLLPRI
;
# endif
constexpr
short
error_mask
=
POLLRDHUP
|
POLLERR
|
POLLHUP
|
POLLNVAL
;
constexpr
short
error_mask
=
POLLRDHUP
|
POLLERR
|
POLLHUP
|
POLLNVAL
;
constexpr
short
output_mask
=
POLLOUT
;
constexpr
short
output_mask
=
POLLOUT
;
class
event_handler
;
class
event_handler
;
...
...
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