http://bugs.winehq.org/show_bug.cgi?id=58212
Bug ID: 58212 Summary: boost::interprocess::named_mutex does not work Product: Wine Version: 10.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: christiaan.arnoldus@outlook.com Distribution: ---
Created attachment 78525 --> http://bugs.winehq.org/attachment.cgi?id=78525 Small program that demonstrates the issue
I was testing our Windows-only app on Wine and in general I was pleasantly surprised by the results, but I did find one crash that wasn't happening on Windows.
When an instance of the boost::interprocess::named_mutex class is created (I think this just used the CreateMutex Win32 API internally), an exception is thrown when running on Wine.
Consider the attached executable (and source code). On Windows, the program prints:
Mutex created
while with Wine it prints:
boost::interprocess_exception::library_error
It would be great if this could be looked at.