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
9d9065a7
Commit
9d9065a7
authored
Apr 20, 2012
by
neverlord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'next << ...' rather than next.enqueue(...)
parent
b7222548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
benchmarks/mixed_case.cpp
benchmarks/mixed_case.cpp
+2
-2
No files found.
benchmarks/mixed_case.cpp
View file @
9d9065a7
...
@@ -163,7 +163,7 @@ struct fsm_chain_link : fsm_actor<fsm_chain_link>
...
@@ -163,7 +163,7 @@ struct fsm_chain_link : fsm_actor<fsm_chain_link>
(
(
on
<
atom
(
"token"
),
int
>
()
>>
[
=
](
int
v
)
on
<
atom
(
"token"
),
int
>
()
>>
[
=
](
int
v
)
{
{
next
->
enqueue
(
nullptr
,
std
::
move
(
self
->
last_dequeued
()
));
next
<<
std
::
move
(
last_dequeued
(
));
if
(
v
==
0
)
become_void
();
if
(
v
==
0
)
become_void
();
}
}
);
);
...
@@ -249,11 +249,11 @@ void chain_link(actor_ptr next)
...
@@ -249,11 +249,11 @@ void chain_link(actor_ptr next)
(
(
on
<
atom
(
"token"
),
int
>
()
>>
[
&
](
int
v
)
on
<
atom
(
"token"
),
int
>
()
>>
[
&
](
int
v
)
{
{
next
<<
self
->
last_dequeued
();
if
(
v
==
0
)
if
(
v
==
0
)
{
{
done
=
true
;
done
=
true
;
}
}
next
<<
std
::
move
(
self
->
last_dequeued
());
}
}
)
)
.
until
([
&
]()
{
return
done
==
true
;
});
.
until
([
&
]()
{
return
done
==
true
;
});
...
...
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