mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2024-11-22 05:31:18 +03:00
Merge pull request #89 from gonzus/gonzus/clean-up-design
Cleaned up design doc
This commit is contained in:
commit
cdcacc8b50
@ -21,9 +21,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Description: Jobs are added to the job queue. Once a thread in the pool
|
Description: Jobs are added to the job queue. Once a thread in the pool
|
||||||
is idle, it is assigned with the first job from the queue(and
|
is idle, it is assigned the first job from the queue (and that job is
|
||||||
erased from the queue). It's each thread's job to read from
|
erased from the queue). It is each thread's job to read from
|
||||||
the queue serially(using lock) and executing each job
|
the queue serially (using lock) and executing each job
|
||||||
until the queue is empty.
|
until the queue is empty.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user