[Pharo-users] Re: Pharo concurrency: select on socket or file IO

2021-07-22 Thread vinref
TaskIt is fantastic! I never realised this existed at all. This is exactly what I need. Thanks Pablo

[Pharo-users] Re: Pharo concurrency: select on socket or file IO

2021-07-22 Thread teso...@gmail.com
Hi, Socket implementation in the VM already handles Async IO operations. The execution model in Pharo is intended to have many concurrent green threads (they are not OS threads, they are handled by Pharo VM). These green threads are called processes in Pharo. Pharo Green threads are quite

[Pharo-users] Re: Pharo concurrency: select on socket or file IO

2021-07-22 Thread giorgio ferraris
Hi, Vince, I don't know exactly Pharo, but when you fork a process, it becomes an independent thread of work. So in that process you can send your async call and wait for a response and then do the work. All inside the forked process. It's the smallalk's scheduler that will take care of passing