Structs§
- Thread
Pool - Threadpool will have a group of
workers
who will be listening forjobs
. Use thenew
associated function to create a newthreadpool
withsize
number ofworkers
. Use theexecute
method tosend
a job to the workers.
workers
who will be listening for jobs
.
Use the new
associated function to create a new threadpool
with size
number of workers
.
Use the execute
method to send
a job to the workers.