std::threadãMinGWã§ä½¿ããããã«ãã
libgcc ã® GThreads wrapper ã pthreads 以å¤ã®ç°å¢ã§ã¯ Condition-Variable ã«å¯¾å¿ãã¦ããªããã std::thread ã使ããªãã£ãããå¿
è¦ã«ãªã£ãã®ã§ Condition-Variable ã Windows (Mingw32, Mingw64 両æ¹) ã§åãããã«ããã
GCC's std::thread didn't work on Windows due to unsupported Condition-Variable functions of libgcc's GThread wrapper on non-pthreads environments. So, I did implement these functions. It seems to work fine (on Mingw32/64 environments each).
ãã ããrecursive_mutex 㨠condition_variable ãçµã¿åãããå ´åã®æ£ããæåãçè§£ã§ããªãã£ãã®ã§ãããã¯ãã¹ããã¦ãã¾ããã誰ãçªã£è¾¼ã¿ããã¦ããã人åéã
However, because it is beyond my comprehension that what is the correct behavior under the combination of recursive_mutex and condition_variable, I haven't tested it yet. If anyone knows about that, I would certainly like them to contact me. (mailto: kikairoya at gmail.com)
ã¨ããã§ããã®è¦æ¨¡ã®ããããåãè¾¼ãã§ãããã«ã¯ã©ãããã®ããããã§ãããããããããªãBTSã«æ¾ãæãã¦ãã¹ã«ã¼ãããã®ããªãã ã¨æãã®ã ããã©ã (è±è¨³: @zakkas783å ç thanks a lot!)