Boost 1.30, Windows.

libs/thread/src/once.cpp, function call_once(), CreateMutex() should be
replaced with CreateMutexA() in one place.


Looking into the code, I have question: if the 'called once' function
throws, it leaves (under Win32) opened mutex and this can deadlock the app
(if there are more functions to be 'called once').

The mutex can be closed even in this case and function flagged as executed.


/Pavel




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to