[Gllug] Programming: Atomic Increment/Decrement

Vincent AE Scott gllug at codex.net
Wed Aug 7 13:12:18 UTC 2002


Jonathan Dye(jonathan.dye at automationpartnership.com)@Wed, Aug 07, 2002 at 01:58:10PM +0100:
> Does anyone know if there are atomic increment/decrement functions under
> linux (or POSIX)?

isnt that what you use a mutex for?

pthread_mutex_init(3)

-- 
keys:  http://codex.net/pgp/gpg.asc http://codex.net/pgp/pgp.asc

 One small bug for man, one great program for mankind


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list