
glibera.blogspot.com
BlogWednesday, January 8, 2014. Playing with Threads Part 4: Workers. In the last post we started creating a thread pool. We outlined the basic functionality of the thread pool, as well as its usage. Now we will look at the actual 'thread' component. Also, in order to synchronize it all we implement a barrier. The job of workers is simple, get tasks from the thread pool and execute them. In order for a worker to function, as seen in Part 2. M currentWork; / The pool that allocated and owns this worker. T...
http://glibera.blogspot.com/
SOCIAL ENGAGEMENT