Threads and Squeak (was: Re: headless vm changes suggestions)

Andreas Raab raab at isgnw.cs.Uni-Magdeburg.DE
Tue Mar 24 00:58:23 UTC 1998


Here is significant question when using threads for the sockets:

Is it safe to call signalSemaphoreWithIndex without synchronized access?

I'd assume that it is unlikely to crash into any other accessors of it,
but well if there are multiple network connections open (or any sound
input/output) it _might_ happen.  Looks like I have to build my own
synchronization around this. Oh well, Craig you see that's the overhead
one doesn't have if all is running in just one thread ;-) 

 Andreas
-- 
Linear algebra is your friend - Trigonometry is your enemy.
+===== Andreas Raab ============= (raab at isg.cs.uni-magdeburg.de) =====+
I Department of Simulation and Graphics      Phone: +49 391 671 8065  I
I University of Magdeburg, Germany           Fax:   +49 391 671 1164  I
+=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+





More information about the Squeak-dev mailing list