Lines Matching full:work
9 # Create a work queue for sending data to a 'worker' thread
10 # Prepopulate it with a few work items
18 # Keep grabbing items off the work queue
23 # Ask for more work when the queue is empty
25 print("\nThread waiting for more work\n\n");
36 # More work for the thread
37 my @work = (
43 # Send work to the thread
45 last if (! @work); # No more work
46 $work_q->enqueue(@{shift(@work)});
49 # Signal that there is no more work