On Mon, 13 Jul 1998, Mark A. Heilpern wrote:
> At 02:51 PM 7/13/98 -0400, you wrote:
> >But what would you do in Windows95? When a program's being run in Win95, you
> >can't overwrite it's code. I've tried, and it gives some dinky message box:
> >"Unable to overwrite. File may already be in use by Windows."
> >
>
> The warmboot (copyover) patch uses the un*x fork() system call;
> as far as I know, WindowsXX has no equivelent. Unless I'm wrong
> in this, there's nothing you can do under that O/S to solve this
> problem.
Actually, it writes the numbers of connected descriptors and uses exec*()
to overlay the new copy of the MUD over the current copy - the new copy
will not it has been restarted, and that it has some open desriptors that
should be reconnected to players.
It still doesn't help with Windoze however :)
Ah, the beauty and simplicity of fork() and exec*().
--
=============================================================================
<erwin@andreasen.com> Herlev, Denmark UNIX System Programmer
<URL:http://www.abandoned.org/drylock/> <*> (not speaking for) DDE
=============================================================================
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST