Hi Igor, thanks for the reply. The idea working with Semaphore has definitly it's own charm. From my last (high-level) check I only found serial primitives which return 0 bytes if nothing was recieved meanwhile - no Semaphore as far as I saw. Regarding adding support for this - I try to stay away from the VM (due to C - no pun intended!) as far as possible. So I'd rather pay somebody who knows his was around in the VM to do it :-) Volunteers? Best Regards, Udo On 08.11.12 05:13, Igor Stasenko wrote:
Sorry, Udo, for quick response.
I think you can do that with Pharo without polling. You just use semaphores (which directly signaled by OS+VM). I am not sure about if everything in VM (usb/midi /etc) uses non-blocking i/o out of the box, but if you really really want to hake it and ready to pay for it (in terms of own time (or somebody else's ;) )) i do not see any impenetrable barriers there.