I am using multiprocessing module. This module is works on Queue that is its pick random process and assign the entery from Queue.
I want to decide which process will work on which entry of Queue
Here is my requirements,
I will pass 2 parameters to queue
- Initiator Process name
- Action/method ( What process is going to do)
Its should pass queue Entry to given Process only.