lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Duck wrote:
[...]
> The only implementation of fork() I know of on Windows is provided by
> Cygwin, which means porting your program to the Cygwin API. IIRC there
> are also some unavoidable security "tricks" needed to make fork() work,
> which might make you not want to use Cygwin at all.

For sheer completeness value I'll also point out that Interix, a.k.a.
'Services for Unix' or Microsoft Unix, has a fork(). And I believe that
later versions even allow you to use Posix APIs and Win32 APIs in the
same executable, although earlier version don't.

(Lua, BTW, builds and runs fine on Interix. If you're a Cygwin user,
Interix is definitely worth checking out as an alternative. It's a bit
buggy and you'll need to install the appropriate hotfixes, but it's
vastly better than Cygwin in almost every respect. Yes, you can now even
create files with 'aux' in the name. Plus there's a Debian userland. apt
on Windows!)

- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "All power corrupts, but we need electricity." --- Diana Wynne Jones,
│ _Archer's Goon_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ2Cslf9E0noFvlzgRAnheAKCsNVNkymuCvs/0q+W+xrTvd8vCaACdE/QM
ryzjjoeLgpteiRfUCwtScIs=
=N9OY
-----END PGP SIGNATURE-----