Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed "cannot fork" error in Windows Web PVR Manager (with caveats)
The WPM must call waitpid() on Windows even though zombie child processes are automatically reaped. This resets internal Perl data structures and permits the WPM to fork more than 64 child processes, and thus enables the pvr list to auto-run and the cache to auto-refresh for extended periods of time. However, waitpid() must be called in the main server loop on Windows (no SIGCHLD generated). This means there is the potential for errors when an auto-run pvr request comes at the same time as a request generated by another WPM task in another window/tab. Windows users will need to avoid that situation. Warning messages have been added to the auto-loading pages (Windows only). This does not affect Unix/OS X users or CGI deployments of the WPM. Closes #268
- Loading branch information