25 Nov
2004
25 Nov
'04
3:09 p.m.
Stefan Shishkov wrote:
I have a similar leak on Windows with the dll version of boost threads 1.32. Perhaps this is the same leak reported by gast128 in the thread "Memory leak reported using threads library". A mutex is created in DLLMain -> on_process_enter -> init_threadmon_mutex. It seems that this mutex is never deleted and there is no comments that this is intentional. On Windows the size of the mutex is 8 bytes and it creates a CRITICAL_SECTION in its constructor - 24 bytes. ....
Indeed this seems to be the same. The reason for it's existence however is the same as for the documented one. Michael are you listening? I remember vaguely that Michael having found a way to do without it. Am I remembering correctly? Roland