This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients methane
Date 2011-08-23.07:43:35
SpamBayes Score 0.0002464024
Marked as misclassified No
Message-id <1314085416.99.0.752578807259.issue12822@psf.upfronthosting.co.za>
In-reply-to
Content
Using CLOCK_MONOTONIC is better than CLOCK_REALTIME (default) for GIL
because settimeofday() may break the pthread_cond_timedwait().

Attached patch uses CLOCK_MONOTONIC and clock_gettime. But I don't know
how to write appropriate configure script.
"-lrt" is also needed to use clock_gettime() but I don't know how to add
it to LIBS.
History
Date User Action Args
2011-08-23 07:43:37methanesetrecipients: + methane
2011-08-23 07:43:36methanesetmessageid: <1314085416.99.0.752578807259.issue12822@psf.upfronthosting.co.za>
2011-08-23 07:43:36methanelinkissue12822 messages
2011-08-23 07:43:36methanecreate