On Fri, Oct 23, 2009 at 4:13 AM, Phil Dawes <[email protected]> wrote:
> Hi Slava, Hi Everyone,
>
> I got pretty far using pipes for native thread messaging on win and unix
> last night (passing the receive fd/HANDLE to the new vm) before
> realising that pipes won't handle concurrency between communicating vms.
> Gah!

What do you mean by this?

> Maybe the vm should just poll the queue in the short term?

You can have a green thread in your VM which reads from the pipe and
dispatches messages to the correct destination green thread's mailbox.
Since Factor does non-blocking I/O there's no problem here.

Slava

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to