On Oct 31, 2010, at 1:26 PM, Shaping wrote:

>  Do we have green threads (round-robin time-slicing for each thread) in 
> Factor?

Yes, Factor supports green threads within a VM. The IO library uses 
non-blocking IO behind the scenes to minimize blocking as well.

> Does anyone use a socket pair to connect two communicating VMs, whether they 
> are running in one OS in two threads or in two OS processes?  If so, is there 
> some example code?
>  
> Why don't we just put this on an FFI word?  Is that problematic?  I would 
> like to know more about this.  Is there a vocabulary I should study?

Unfortunately, in both cases the person working on the project never publicly 
released any code. You could email Phil Dawes personally if you're interested 
in multiple VMs, or come to the #concatenative IRC channel on Freenode and ask 
"prunedtree" about assembling and spawning native threads.

-Joe
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to