--On Saturday, June 12, 2004 9:45 PM -0400 [EMAIL PROTECTED] wrote:
OK, here is the proc mutex re-org. This is ugly, but it passes all of the tests, using both fork and proc_create. The only problem with this patch, is that it doesn't do the configure magic to actually setup FORK_DEFAULT and PROC_CREATE_DEFAULT. To test this, I just set APR_USE_FLOCK_SERIALIZE to 1 along with APR_USE_SYSVSEM_SERIALIZE. I am nost sure what the best way is to do this with configure, so I will leave that as an exercise for the group to discuss.
How will fcntl() work with this? flock() isn't on a bunch of platforms, so fcntl() is probably the more portable solution.
For fcntl(), we open it for exclusive read and then unlink it right away - how do you plan on dealing with that? -- justin
