Reid Kleckner <r...@mit.edu> added the comment:

The patch looks good to me FWIW.

I would be interested in using this perhaps in issue8844, which involves lock 
timeouts.  It may be true that the POSIX API uses nanoseconds, but pythreads 
only exposes microsecond precision.

In order to use it from the thread module, it need to get moved into Python/.  
My best guess at the best place to put it would be sysmodule.c, since that 
already wraps other system calls.  Or, you know, we could live a little and 
make a new file for it.  :)

----------
nosy: +rnk

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9079>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to