Hi eliot
> 
> Would it be possible to start native thread inside pharo? This thread would
> run (for quite a long time) some event loop (like the libev), and post some
> info to the SharedQueue. Smalltalk code would in turn be reading stuff from
> this queue. You could say it would be pumping events from libev to
> SharedQueue instance for Smalltalk code to consume.
> 
> Is this doable? With NativeBoost or Plugin?
> 
> I have also found some info on threaded VM, but if I understand it correctly
> it seems more oriented to provide a thread to execute FFI call on it.
> 
> I wouldn't say that.  The threading scheme is David Simmons' architecture, 
> used in his AOS and S# VMs and similar to that used in the python VM, but 
> more efficient.  It allows multiple threads to share the VM, but only allows 
> one to run Smalltalk at any one time.  It is designed to allow Smalltalk to 
> interact freely with any number of native threads.  Cal-backs can come in 
> from any thread.  SMalltalk processes can be associated with specific 
> threads, allowing one to control which thread a call-out is made on.

do you know where we can read on that?

Stef

Reply via email to