Re: Resource Temporarily Unavailable workaround

2007-11-23 Thread Andrew STUBBS
Christopher Faylor wrote: Any suggestions? You could use printf's to find where it is failing. But, really, that's a pretty obvious suggestion. I'm not sure what suggestions you're looking for if you can't find the time to learn anything more about Cygwin or Windows. Thanks, I wasn't

Re: Resource Temporarily Unavailable workaround

2007-11-22 Thread Christopher Faylor
On Thu, Nov 22, 2007 at 04:41:54PM +, Andrew STUBBS wrote: The attached patch adds a 'retry' to the fork system call. Basically it waits 10 seconds to allow the 'resource temporarily unavailable' to become (temporarily) available once more, and tries again, up to a maximum of three attempts.

Re: Resource Temporarily Unavailable workaround

2007-11-22 Thread Christopher Faylor
On Thu, Nov 22, 2007 at 12:00:51PM -0500, Christopher Faylor wrote: On Thu, Nov 22, 2007 at 04:41:54PM +, Andrew STUBBS wrote: The attached patch adds a 'retry' to the fork system call. Basically it waits 10 seconds to allow the 'resource temporarily unavailable' to become (temporarily)

Re: Resource Temporarily Unavailable workaround

2007-11-22 Thread Andrew STUBBS
Christopher Faylor wrote: On Thu, Nov 22, 2007 at 12:00:51PM -0500, Christopher Faylor wrote: On Thu, Nov 22, 2007 at 04:41:54PM +, Andrew STUBBS wrote: The attached patch adds a 'retry' to the fork system call. Basically it waits 10 seconds to allow the 'resource temporarily unavailable'

Re: Resource Temporarily Unavailable workaround

2007-11-22 Thread Christopher Faylor
On Thu, Nov 22, 2007 at 05:55:05PM +, Andrew STUBBS wrote: Christopher Faylor wrote: On Thu, Nov 22, 2007 at 12:00:51PM -0500, Christopher Faylor wrote: On Thu, Nov 22, 2007 at 04:41:54PM +, Andrew STUBBS wrote: The attached patch adds a 'retry' to the fork system call. Basically it waits