[jdev] parsing xml (xmpp) with ruby
Jonathan Schleifer
js-jdev at webkeks.org
Fri Oct 3 07:53:13 CDT 2008
Am 03.10.2008 um 13:48 schrieb Eric Will:
> Like I said, I don't really know anything about threading. From what I
> understand, doing a blocking read() call in a Ruby thread is going to
> block the entire program anyway, because Ruby doesn't do "real"
> threads.
Ruby doesn't use real threads, that's correct, but ruby is clever and
won't internally use a blocking read() then. Ruby uses async read()
then and block the thread.
--
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <https://www.jabber.org/jdev/attachments/20081003/01950df1/attachment-0003.pgp>
More information about the JDev
mailing list