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
a5b8f15a
Commit
a5b8f15a
authored
Jan 01, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding style
parent
32c8b501
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/abstract_scheduled_actor.cpp
src/abstract_scheduled_actor.cpp
+3
-3
No files found.
src/abstract_scheduled_actor.cpp
View file @
a5b8f15a
...
@@ -94,7 +94,7 @@ void abstract_scheduled_actor::enqueue(actor* sender, any_tuple&& msg)
...
@@ -94,7 +94,7 @@ void abstract_scheduled_actor::enqueue(actor* sender, any_tuple&& msg)
enqueue_node
(
new
queue_node
(
sender
,
std
::
move
(
msg
)));
enqueue_node
(
new
queue_node
(
sender
,
std
::
move
(
msg
)));
}
}
void
abstract_scheduled_actor
::
enqueue
(
actor
*
sender
,
const
any_tuple
&
msg
)
void
abstract_scheduled_actor
::
enqueue
(
actor
*
sender
,
any_tuple
const
&
msg
)
{
{
enqueue_node
(
new
queue_node
(
sender
,
msg
));
enqueue_node
(
new
queue_node
(
sender
,
msg
));
}
}
...
@@ -114,7 +114,7 @@ int abstract_scheduled_actor::compare_exchange_state(int expected,
...
@@ -114,7 +114,7 @@ int abstract_scheduled_actor::compare_exchange_state(int expected,
return
e
;
return
e
;
}
}
void
abstract_scheduled_actor
::
request_timeout
(
const
util
::
duration
&
d
)
void
abstract_scheduled_actor
::
request_timeout
(
util
::
duration
const
&
d
)
{
{
future_send
(
this
,
d
,
atom
(
":Timeout"
),
++
m_active_timeout_id
);
future_send
(
this
,
d
,
atom
(
":Timeout"
),
++
m_active_timeout_id
);
m_has_pending_timeout_request
=
true
;
m_has_pending_timeout_request
=
true
;
...
@@ -235,7 +235,7 @@ bool scheduled_actor_dummy::remove_backlink(intrusive_ptr<actor>&)
...
@@ -235,7 +235,7 @@ bool scheduled_actor_dummy::remove_backlink(intrusive_ptr<actor>&)
return
false
;
return
false
;
}
}
void
scheduled_actor_dummy
::
detach
(
const
attachable
::
token
&
)
void
scheduled_actor_dummy
::
detach
(
attachable
::
token
const
&
)
{
{
}
}
...
...
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