Hi everyone, Hi Slava,

I'm going on holiday tomorrow for a few days and I'm not sure if I'll 
have net access so here's my latest snapshot just in case:
(rebased on top of master as of a few hours ago:)

http://github.com/phildawes/factor/tree/reentrantvm-checkpoint
http://phildawes.net/tmp/images/boot.x86.32.image
http://phildawes.net/tmp/images/boot.unix-x86.64.image
http://phildawes.net/tmp/images/boot.macosx-ppc.image

It should bootstrap and run on all platforms.

On x86 (32/64,linux,win32,osx) you can pass a REENTRANT flag to make to 
build it without the singleton pointer. (i.e. 'make REENTRANT=1'). You 
can then run multiple vms on separate os threads in the same process. 
I've included a mttest vocab which lets you do:

{ } start-vm-in-os-thread

... to spawn a new listener vm or you can pass arguments to the new vm thus:

{ "-run=tetris" } start-vm-in-os-thread

N.B. There's a limitation on win32 that only one thread can be running 
the GUI. I don't know enough about win32 gui programming to know why 
this is and I haven't looked very deeply at the code. If you want two 
interactive factor sessions on win32 you can run the first one as a 
console listener (factor.com -run=listener) and then spawn a vm thread 
to run the gui listener.

Cheers,

Phil


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to