On May 10, 5:21 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > This works for me. But I'd like to know if this is considered
> > Pythonic, and if there are other, better ways of doing the above in
> > Python.
>
> From the Python point of view, it's fine. However, it uses busy-wait,
> which I
> This works for me. But I'd like to know if this is considered
> Pythonic, and if there are other, better ways of doing the above in
> Python.
>From the Python point of view, it's fine. However, it uses busy-wait,
which I consider bad style (in any language).
> 3) Make a custom thread-safe queue