Hi Udo! Well, as fare as I know there is currently no equivalent Ruby's EventMachine, or similar event based server infrastructure.
There is AioPlugin for async IO http://wiki.squeak.org/squeak/3384 which lets Smalltalk process (looking from the os view) to get async notifications of IO events, and signal semaphore which could then be used to activate sleeping smalltalk process (now I talk about process from the smalltalk VM view). This is useful but I think it does not address all of 10ck issues effectively. Also: - I am not sure it works on windows - I am not sure it can be used for serial ports In the long run I always wanted to take a stab into something like EventMachine for Pharo, at least for the basic tcp protocol, but never got the time. Also Delivering all important protocols on top of it (like HTTP, SMTP, AMQP, file io, serial, etc, etc) would probably be huge undertaking since most existing libraries would need considerable amount of love to be used in evented manner, some maybe even complete new event based versions. ----- http://www.cloud208.com/ -- View this message in context: http://forum.world.st/Tips-for-efficient-multi-serial-handling-tp4653104p4654413.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
