Timeout function for Thread.Queue->read
Trilok Tourani <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CA+9+xUbhrv7bOAxhESOtjsh696UzTZUBq9cVJc29Zb61Rb=ZFw@mail.gmail.com> |
Hello all Is there any pike function for timeout for the Thread.Queue class ,read function? My program just hangs at that statement because there is nothing in the Queue, and I have to add a dummy element in queue after the timeout seconds.(Workaround) Please mention any function that can server this purpose. Thank you Regards Trilok Tourani