semaphores do not access like volatile
Niko Schwarz
niko.schwarz at gmx.net
Mon Feb 10 16:02:07 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 10. Februar 2003 15:47 schrieb Robert Withers:
> I have a shared priority queue alternative as well, if you are
> interested in that.
thats nice, thank you, but i got it to work already, and you know: never
change a running horse ;-)
I have another thingy now: Socket gives me random timeouts when sending data.
I'm using sunit tests, so my socket is permanently connected and unconnected
(or rather: thrown away and assigning a new one).
so i keep on repeating my unit tests hoping that in one run no test will get
a timeout.
I use:
send: aString
"XXX blocks"
socket sendData: aString
without further threading.
I've seen another program use a write-thread and an output-queue, but i found
this extremely ugly, and moreover i felt like squeak should provide this
somewhere already.
any hints?
regards,
nick
- --
Schnuffel, n.:
A dog's practice of continuously nuzzling in your crotch in
mixed company.
-- Rich Hall, "Sniglets"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+R8z/3P3nmXTVnC8RAqs5AKDlzWV11lYk46RR36Y9qd8nG3d80gCeKDW2
CJS8puDTH3MIRKmPGyO8JRU=
=xOLV
-----END PGP SIGNATURE-----
More information about the Squeak-dev
mailing list
|