Message92715
| Author |
twouters |
| Recipients |
twouters |
| Date |
2009年09月16日.20:03:11 |
| SpamBayes Score |
1.6301849e-05 |
| Marked as misclassified |
No |
| Message-id |
<1253131394.22.0.862355202249.issue6923@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In order to properly handle multiple threads and fork()-calls from C code
(rather than os.fork()), Python should provide pthread_atfork()-like
functionality: a function to call before a fork, to acquire any locks
that need to be acquired, and a pair of functions to call after the fork,
in the parent and the child, to release or re-allocate locks. The
acquisitions should be re-entrant and should not require an existing
threadstate. Also see <http://bugs.python.org/issue1590864>. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年09月16日 20:03:14 | twouters | set | recipients:
+ twouters |
| 2009年09月16日 20:03:14 | twouters | set | messageid: <1253131394.22.0.862355202249.issue6923@psf.upfronthosting.co.za> |
| 2009年09月16日 20:03:12 | twouters | link | issue6923 messages |
| 2009年09月16日 20:03:11 | twouters | create |
|