Re: [Pharo-users] Building agents in Pharo
Sven wrote << The standard VM is using a single OS process (and thus uses a single core) but manages its own user land threads called Processes. The cool thing is that you can read/understand all this threading code (ProcessorScheduler, Process, Semaphore, Monitor, Delay, ..). There few if any limits to the amount of processes you can have. To answer the second question: I believe SharedQueue is the class you should be looking at (first).
Great, that sounds very encouraging. Thanks very much. Andy
Andy which kind of agents would you like to build? I was playing with Actalk (I should resurrect it in Pharo 40. But in essence an object with a thread and a mailbox Stef
Sven wrote << The standard VM is using a single OS process (and thus uses a single core) but manages its own user land threads called Processes. The cool thing is that you can read/understand all this threading code (ProcessorScheduler, Process, Semaphore, Monitor, Delay, ..). There few if any limits to the amount of processes you can have.
To answer the second question: I believe SharedQueue is the class you should be looking at (first).
Great, that sounds very encouraging. Thanks very much.
Andy
participants (2)
-
Andy Burnett -
stepharo