David Marcin
2005-09-06 21:03:17 UTC
The details on the requirement to spawn P copies of "null.exe" seem
sparse. Should we spawn them all as quickly as possible, or should we
spawn them sequentially by waiting for the first instance to exit before
spawning the second and so on?
-- edit...I suppose that was a silly question as null.exe never exits.
Also, what happens if you attempt to spawn a process and it fails for
some reason (e.g. spawning would exceed the maximum number of user
processes)? Should you retry the spawn until you succeed, or should you
only make one attempt to spawn the process?
Last, should spawn.exe give any indication of what it is doing (e.g.
"Spawned process #x", "Failed to spawn process #y")?
sparse. Should we spawn them all as quickly as possible, or should we
spawn them sequentially by waiting for the first instance to exit before
spawning the second and so on?
-- edit...I suppose that was a silly question as null.exe never exits.
Also, what happens if you attempt to spawn a process and it fails for
some reason (e.g. spawning would exceed the maximum number of user
processes)? Should you retry the spawn until you succeed, or should you
only make one attempt to spawn the process?
Last, should spawn.exe give any indication of what it is doing (e.g.
"Spawned process #x", "Failed to spawn process #y")?