Thanks for the patch, Fatman, but a solution that runs each HTTP request in
a thread will be unacceptable.  Fossil is designed around processes, not
threads.  The amount of work required to make Fossil threadsafe would be prohibitive.

See also,

I need a way to start a new process (not a thread) running the same binary in Windows 7.  Apparently the technique of calling system() on <nowiki>argv[0]</nowiki> or on _pgmptr works for all prior versions of Windows does not work in Windows 7.  Nobody has yet explained to me why it doesn't work, and I do not have access to Windows 7 to test it for myself, but apparently it does not.  I would prefer to fix the problem, rather than rearchitect all of Fossil.