vendredi 29 mai 2015

Single process blocking queue

I am writing an application that communicates with hardware. While the application can receive and process multiple requests simultaneously in parallel, the hardware cannot!

The hardware requires these parallel requests to basically be organised into a linear request chain each one executed one after the other.

I also have a requirement to be able to prioritise requests given that some of are background processes with no urgency and some are live and need to be jumped to the front of the queue for immediate processing.

I don't have much experience with queues however I would be surprised if such a library didn't already exist.

Aucun commentaire:

Enregistrer un commentaire