Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
88bf6106
Unverified
Commit
88bf6106
authored
Jan 02, 2020
by
Ge Jun
Committed by
GitHub
Jan 02, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1004 from TousakaRin/fix_typo
fix typo
parents
cd9bcea3
1657316a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
execution_queue.h
src/bthread/execution_queue.h
+2
-2
No files found.
src/bthread/execution_queue.h
View file @
88bf6106
...
...
@@ -30,7 +30,7 @@ namespace bthread {
// ExecutionQueue is a special wait-free MPSC queue of which the consumer thread
// is auto started by the execute operation and auto quits if there are no more
// tasks, in another word there isn't a daemon bthread waiting to consume tasks
// tasks, in another word there isn't a daemon bthread waiting to consume tasks
.
template
<
typename
T
>
struct
ExecutionQueueId
;
template
<
typename
T
>
class
ExecutionQueue
;
...
...
@@ -77,7 +77,7 @@ private:
//
// Examples:
// int demo_execute(void* meta, TaskIterator<T>& iter) {
// if (iter.is_stopped()) {
// if (iter.is_
queue_
stopped()) {
// // destroy meta and related resources
// return 0;
// }
...
...
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