Overview
| Artifact ID: | 040191772f9d6c6372bbf345339d04f246484fa9 |
|---|---|
| Ticket: | c8c0b78c840e4df9aefd2687bf6cac5abfce08e5
Windows 7: "fossil ui" and "fossil server" fail |
| User & Date: | drh 2010-10-19 12:40:56 |
Changes
- Appended to comment:
<hr /><i>drh added on 2010-10-19 12:40:56:</i><br /> 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, [http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.pdf] 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.