[Adding pgadmin-hackers list...]
Hi Team,
Using the mutex around the logging code too to avoid overlapping log message.
Please review it, and let me know your concern.
Implementation details:
- Moved 'MutexLogger' class, which was used by the connection management code only, in the include/misc.h
- Use a static mutex for the non-windows system, and used 'MutexLogger' instance for the better lock/unlock mechanism in the LogMessage(...) function.
-- Thanks, Ashesh