[Python-Dev] Change definition of Py_END_ALLOW_THREADS? (original) (raw)
Mark Hammond mhammond@skippinet.com.au
Thu, 13 Feb 2003 15:30:36 +1100
- Previous message: [Python-Dev] Change definition of Py_END_ALLOW_THREADS?
- Next message: [Python-Dev] Re: GadflyDA in core? Or as add-on-product?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
My apologies - I was simply not seeing the forest for the trees.
My entire problem is solved simply by making the API look like:
old_state = PyAutoThreadState_Ensure(); ... PyAutoThreadState_Release(old_state);
I will post an updated PEP and patch soon.
Mark.
- Previous message: [Python-Dev] Change definition of Py_END_ALLOW_THREADS?
- Next message: [Python-Dev] Re: GadflyDA in core? Or as add-on-product?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]