Custom Datastructures
A positional queue of a specific length, with slots that are either filled or unfilled. When all of the positions are filled, the queue is considered full().
Parameter: | length – The number of items required for the queue to be filled. |
---|
Queue of running child processes, which starts waiting for the processes to finish when the queue limit is reached.
Parameters: |
---|
Add a process to the queue.
If the queue is full, it will start to collect return values from the tasks executed. When all return values has been collected, it deletes the current queue and is ready to accept new processes.
Parameters: |
|
---|