gkodinov/kgeorge@magare.gmz
9affe65211
Bug #26564 : Windows implementation of pthread_join crashes
...
MySQL uses _beginthread()/_endthread() instead of
_beginthreadex()/_endthreadex() to create/end its threads
on Windows.
According to MSDN _endthread() does close the thread handle.
So there's no need the handle to be closed explicitly.
Besides : WaitForSingleObject(, INFINITE) != WAIT_OBJECT_0) is
true for all practical cases as the other two possible return
codes (according to MSDN) cannot happen in that case the
CloseHandle() was actually a dead code.
Fixed by removing the CloseHandle() call. No test case added
because it's not possible to test for absence of dead code.
2007-06-25 19:21:18 +03:00
..
2006-12-27 02:23:51 +01:00
2007-05-01 18:25:29 -07:00
2006-12-23 20:20:40 +01:00
2007-05-27 23:21:03 +02:00
2007-06-04 11:24:49 +02:00
2007-05-10 12:59:39 +03:00
2007-04-13 01:56:22 +03:00
2007-05-10 12:59:39 +03:00
2007-05-24 13:24:36 +03:00
2007-05-10 12:59:39 +03:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-05-31 21:34:05 +02:00
2007-06-21 20:55:37 +02:00
2007-06-05 17:51:30 +02:00
2007-04-26 16:06:44 +02:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-01-28 21:12:58 +01:00
2007-04-12 00:43:25 +02:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:20:40 +01:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2007-05-24 13:24:36 +03:00
2007-06-05 17:51:30 +02:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:20:40 +01:00
2007-05-10 12:59:39 +03:00
2007-06-25 19:21:18 +03:00
2007-06-14 19:23:55 +04:00
2007-05-16 10:44:59 +02:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2006-12-31 02:29:11 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2007-06-05 17:51:30 +02:00
2006-12-23 20:17:15 +01:00
2007-03-27 20:27:58 +04:00
2006-12-31 01:02:27 +01:00
2004-05-25 02:47:25 +03:00
2007-05-24 13:24:36 +03:00
2007-03-02 08:43:45 -08:00
2007-05-10 12:59:39 +03:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-03-28 15:33:29 +02:00
2007-06-04 03:16:17 -07:00
2007-04-27 19:09:39 +02:00
2007-06-15 19:06:06 +02:00