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 vstinner
Recipients jyasskin, neologix, pitrou, vstinner
Date 2017-06-29.20:22:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498767765.44.0.337703894515.issue30808@psf.upfronthosting.co.za>
In-reply-to
Content
There is a sig_atomic_t type. Should we use that one?
https://www.gnu.org/software/libc/manual/html_node/Atomic-Types.html

"To avoid uncertainty about interrupting access to a variable, you can use a particular data type for which access is always atomic: sig_atomic_t. Reading and writing this data type is guaranteed to happen in a single instruction, so there’s no way for a handler to run “in the middle” of an access."
History
Date User Action Args
2017-06-29 20:22:45vstinnersetrecipients: + vstinner, pitrou, jyasskin, neologix
2017-06-29 20:22:45vstinnersetmessageid: <1498767765.44.0.337703894515.issue30808@psf.upfronthosting.co.za>
2017-06-29 20:22:45vstinnerlinkissue30808 messages
2017-06-29 20:22:45vstinnercreate