Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
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-incubator
Commits
b47d3eaf
Commit
b47d3eaf
authored
Jan 23, 2020
by
Jakob Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix handle_write_event
parent
d02e67f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
libcaf_net/caf/net/datagram_transport.hpp
libcaf_net/caf/net/datagram_transport.hpp
+4
-2
libcaf_net/caf/net/stream_transport.hpp
libcaf_net/caf/net/stream_transport.hpp
+4
-2
No files found.
libcaf_net/caf/net/datagram_transport.hpp
View file @
b47d3eaf
...
@@ -107,8 +107,10 @@ public:
...
@@ -107,8 +107,10 @@ public:
}
}
return
false
;
return
false
;
};
};
while
(
write_some
()
&&
fetch_next_message
())
do
{
;
// nop
if
(
!
write_some
())
return
false
;
}
while
(
fetch_next_message
());
return
!
packet_queue_
.
empty
();
return
!
packet_queue_
.
empty
();
}
}
...
...
libcaf_net/caf/net/stream_transport.hpp
View file @
b47d3eaf
...
@@ -114,8 +114,10 @@ public:
...
@@ -114,8 +114,10 @@ public:
}
}
return
false
;
return
false
;
};
};
while
(
write_some
()
&&
fetch_next_message
())
do
{
;
// nop
if
(
!
write_some
())
return
false
;
}
while
(
fetch_next_message
());
return
!
write_queue_
.
empty
();
return
!
write_queue_
.
empty
();
}
}
...
...
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