
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 19 April 2008 10:23, Frank Mori Hess wrote:
On Saturday 19 April 2008 06:48, Anteru wrote:
Well, I still have problems with the conditions, even with the latest SVN. The problem seems to be that inside a block like:
Does the attached patch help? I do my development on Linux, so it's completely untested.
Actually, I no longer think my earlier patch was useful. But what if the last notify_one() happens between the WaitForSingleObject() call in do_wait() and the start_wait_loop() call in the next iteration of the while loop? I don't understand the boost.thread code 100%, but it seems like it could be missed. The attached patch should eliminate that possibility. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFICn4U5vihyNWuA4URApf/AJ9XoHwrN24icBpuRseMWHSi/PkibgCfUp01 iZfWAl76xeBJniBsdMkARyM= =5pJn -----END PGP SIGNATURE-----