threads and sleep?

Paul Rubin http
Thu Jul 14 08:10:38 EDT 2005


Andreas Kostyrka <andreas at kostyrka.org> writes:
> Basically the current state of art in "threading" programming doesn't
> include a safe model. General threading programming is unsafe at the
> moment, and there's nothing to do about that. It requires the developer
> to carefully add any needed locking by hand. 

So how does Java do it?  Declaring some objects and functions to be
synchronized seems to be enough, I thought.



More information about the Python-list mailing list