Re: threads and sleep?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: threads and sleep?

From: Paul Rubin <//phr.cx@NOSPAM.invalid>
Date: Thu Jul 14 2005 - 14:10:38 CEST

Andreas Kostyrka <andreas@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.
Received on Thu Sep 29 16:56:58 2005