Message158176
| Author |
Jim.Jewett |
| Recipients |
Jim.Jewett |
| Date |
2012年04月12日.21:52:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334267562.49.0.738256962855.issue14569@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
http://hg.python.org/cpython/file/0f114b855824/Python/pystate.c#l25
#ifdef WITH_THREAD
#include "pythread.h"
static PyThread_type_lock head_mutex = NULL; /* Protects interp->tstate_head */
#define HEAD_INIT() (void)(head_mutex || (head_mutex = PyThread_allocate_lock()))
#define HEAD_LOCK() PyThread_acquire_lock(head_mutex, WAIT_LOCK)
#define HEAD_UNLOCK() PyThread_release_lock(head_mutex)
#ifdef __cplusplus
extern "C" {
#endif |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月12日 21:52:42 | Jim.Jewett | set | recipients:
+ Jim.Jewett |
| 2012年04月12日 21:52:42 | Jim.Jewett | set | messageid: <1334267562.49.0.738256962855.issue14569@psf.upfronthosting.co.za> |
| 2012年04月12日 21:52:41 | Jim.Jewett | link | issue14569 messages |
| 2012年04月12日 21:52:41 | Jim.Jewett | create |
|