WorkerPool
Object Hierarchy:
Description:
public class WorkerPool :
Object,
Executor
A thread pool for executing tasks in parallel.
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public void terminate ()
Starts terminating threads.
- public void terminate_now ()
Starts terminating threads and wait for all threads to complete termination.
- public void wait_termination ()
Blocks until all threads have completed termination.
- public void wait_termination_until (int64 end_time)
Blocks until either all threads have completed termination or end_time
has passed.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gpseq.Executor