Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   Read and Writing from a Queue at the same time (http://www.domainnameforum.org/showthread.php?t=149709)

Python 03-14-2011 10:13 AM

Read and Writing from a Queue at the same time
 
Is it possible to read and write to a queue at the same time? for example, one thread is using put() and another thread get() on the same queue? When threading, I've added the task_done() but queue.join() seems to wait for all jobs to finish before the main thread continues.


All times are GMT -4. The time now is 10:29 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.