Replies: 1 comment 5 replies
-
Would you like to provide any minimal sample code? mingw-w64 does not implement any Win32 APIs. It only declares those. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Been trying to solve a bug for some time then by mistake while writing a new test i changed the "if" to a "while" before a call to WaitForSingleObject and it worked ?!?.
the problem was that i was doing a mutex lock by means of "if (WaitForSingleObject(handle, INFINITE) != WAIT_OBJECT_0) go bye bye"
but this caused a segmentation fault even though it should be perfectly legal, my fault and what actually turned out to work was changing it to while(WaitForSingleObject(handle, INFINITE) != WAIT_OBJECT_0) go bye bye. is this a bug somewhere in the mingw-w64 api ?.
Beta Was this translation helpful? Give feedback.
All reactions