Looking through the API. I see many from_handle functions that can wrap an external handle which is great. Looking at the Queue object:
there is no public from_handle (FIXME in the code)
there is a with which performs the necessary 'externally synchronised' locking for queue operations. The other part that is missing for an externally provided queue is being able to (optionally) also provide an external locking mechanism.
Looking through the API. I see many
from_handle
functions that can wrap an external handle which is great. Looking at the Queue object:from_handle
(FIXME in the code)with
which performs the necessary 'externally synchronised' locking for queue operations. The other part that is missing for an externally provided queue is being able to (optionally) also provide an external locking mechanism.