S
Srinu
Dear All,
Is there any functions available in standard C library or in the
library that comes with gcc, which can do atomic increaments and
atomic decrements? (other atomic operations optional... though highly
preferable...)
for example, functions like this:
atomic_inc();
atomic_dec();
so that for such small operations user need not write its own
functions using semaphore or mutex. This could be handy while
programming for parallel processes or threads.
Thanks
Srinu
Is there any functions available in standard C library or in the
library that comes with gcc, which can do atomic increaments and
atomic decrements? (other atomic operations optional... though highly
preferable...)
for example, functions like this:
atomic_inc();
atomic_dec();
so that for such small operations user need not write its own
functions using semaphore or mutex. This could be handy while
programming for parallel processes or threads.
Thanks
Srinu