J
j0mbolar
how is atomicity guaranteed on say a 32 bit architecture?
or a pentium? because doesn't sig_atomic_t have to
be an alias for a type that is the smallest unit
(a signed char or unsigned char)? if so, then on a 32 bit
architecture, and where char is 8 bits, you can't get
atomicity, can you? and does this mean sig_atomic_t is
useless? if not, then what type of magic would be implemented
to guarantee such an atomic write? It doesn't seem possible.
or a pentium? because doesn't sig_atomic_t have to
be an alias for a type that is the smallest unit
(a signed char or unsigned char)? if so, then on a 32 bit
architecture, and where char is 8 bits, you can't get
atomicity, can you? and does this mean sig_atomic_t is
useless? if not, then what type of magic would be implemented
to guarantee such an atomic write? It doesn't seem possible.