On Sun, 2007-09-23 at 19:25 -0700, Erick Tryzelaar wrote:
> in lpsrc/flx_config.pak, "fork" is listed as a terminating keyword,
> but there's no other reference to it. Did it used to be a keyword, and
> now it's not?
Never used, reserved for fork/join primitives, eg:
do p1; p2; p3; done; // sequential
fork p1; p2; p3; join; // parallel
Windows doesn't have an os 'fork', it uses CreateProcess.
If you want to avoid the name 'fork' use 'posix_fork'.
Note that Cygwin can run BOTH Posix and Windows functions.
HOWEVER if you really want, 'fork' can be unkeyworded:
it can still be used as a 'special identifier' in the
grammar provided it doesn't look like an application
which it does in the above 'parallel' example.
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language