在 2018/3/10 18:14, Sitsofe Wheeler 写道: > Hi, > > It's possible to trigger a deadlock in winpthreads' > pthread_cond_signal() when using the pthread_cond_signal() call > outside of a pthread_mutex_lock()/pthread_mutex_unlock() region. This > problem happens under Windows 2012 R2 with winpthreads-5.0.3 > (Cygwin64) and winpthreads-7.2.0 (standalone) and also on Fedora 26 > under wine-3.2-2.fc26.x86_64 using > mingw64-winpthreads-static-5.0.2-1.fc26.noarch. The problem was > originally seen by a Windows user of the fio project (see > https://www.spinics.net/lists/fio/msg06772.html ) but a standalone > program that reproduces the problem is attached. The problem is
The attachment seemed swallowed by SourceForge. If it was a plaintext file, add a `.txt` extension and send it again. Thanks for your report. > intermittent (so you may need to up the threads/iterations or run the > program multiple times) but a backtrace of the thread with the hang > looks like this: > -- Best regards, LH_Mouse ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public