Gurjeet Singh wrote:
> On Windows, the write to log file is done by a thread (whose main
> function is pipeThread() ), and since it works completely independent of the
> SysLoggerMain() ( which is responsible for calling logfile_rotate()
> periodically, which in turn changes the global variable syslogFile) this is
> causing a race condition due to an error in the way we are using the related
> critical section.
Thanks, committed. I hope this helps with Ati's problems.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com