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
84bb540b
Commit
84bb540b
authored
Jul 27, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug regarding synchronous & asynchronous timeouts (Issue 42)
parent
d33d5b2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cppa/detail/receive_policy.hpp
cppa/detail/receive_policy.hpp
+3
-1
No files found.
cppa/detail/receive_policy.hpp
View file @
84bb540b
...
@@ -341,7 +341,9 @@ class receive_policy {
...
@@ -341,7 +341,9 @@ class receive_policy {
handle_timeout
(
client
,
fun
);
handle_timeout
(
client
,
fun
);
if
(
awaited_response
.
valid
())
{
if
(
awaited_response
.
valid
())
{
client
->
mark_arrived
(
awaited_response
);
client
->
mark_arrived
(
awaited_response
);
client
->
remove_handler
(
awaited_response
);
}
}
hm_cleanup
(
client
,
policy
);
return
hm_msg_handled
;
return
hm_msg_handled
;
}
}
case
sync_response
:
{
case
sync_response
:
{
...
@@ -355,9 +357,9 @@ class receive_policy {
...
@@ -355,9 +357,9 @@ class receive_policy {
# else
# else
fun
(
node
->
msg
);
fun
(
node
->
msg
);
# endif
# endif
hm_cleanup
(
client
,
policy
);
client
->
mark_arrived
(
awaited_response
);
client
->
mark_arrived
(
awaited_response
);
client
->
remove_handler
(
awaited_response
);
client
->
remove_handler
(
awaited_response
);
hm_cleanup
(
client
,
policy
);
return
hm_msg_handled
;
return
hm_msg_handled
;
}
}
return
hm_cache_msg
;
return
hm_cache_msg
;
...
...
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