Message297313
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." |
|
Date |
User |
Action |
Args |
2017-06-29 20:22:45 | vstinner | set | recipients:
+ vstinner, pitrou, jyasskin, neologix |
2017-06-29 20:22:45 | vstinner | set | messageid: <1498767765.44.0.337703894515.issue30808@psf.upfronthosting.co.za> |
2017-06-29 20:22:45 | vstinner | link | issue30808 messages |
2017-06-29 20:22:45 | vstinner | create | |
|