Bug #30992 | Wrong implementation of pthread_mutex_trylock() | ||
---|---|---|---|
Submitted: | 13 Sep 2007 7:55 | Modified: | 24 Oct 2007 19:31 |
Reporter: | Mats Kindahl | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | Any |
Assigned to: | Magnus BlÄudd | CPU Architecture: | Any |
[13 Sep 2007 7:55]
Mats Kindahl
[13 Sep 2007 15:07]
MySQL Verification Team
Thank you for the bug report.
[3 Oct 2007 19:38]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/34856 ChangeSet@1.2526, 2007-10-03 21:38:32+02:00, msvensson@pilot.mysql.com +2 -0 Bug#30992 Wrong implementation of pthread_mutex_trylock() It's not possible to use WaitForSingleObject to wait on a CRITICAL_SECTION, instead use the TryEnterCriticalSection function. - if "mutex" was already taken => return EBUSY - if "mutex" was aquired => return 0
[19 Oct 2007 18:52]
Bugs System
Pushed into 5.1.23-beta
[19 Oct 2007 18:54]
Bugs System
Pushed into 5.0.52
[24 Oct 2007 19:31]
Paul DuBois
Noted in 5.0.52, 5.1.23 changelogs.