Structs§
- Thread
Pool - Threadpool will have a group of
workerswho will be listening forjobs. Use thenewassociated function to create a newthreadpoolwithsizenumber ofworkers. Use theexecutemethod tosenda 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.