[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jabber-jdev
Subject:    Re: [jdev] parsing xml (xmpp) with ruby
From:       Jonathan Schleifer <js-jdev () webkeks ! org>
Date:       2008-10-03 12:53:13
Message-ID: 27EFAC30-05B4-4619-8116-BF11855AA5ED () webkeks ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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


["PGP.sig" (application/pgp-signature)]

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-unsubscribe@jabber.org
_______________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic