Atomic integers?

Steven Boswell II <[email protected]> Sun, 26 Apr 2009 11:26:47 -0700 (PDT)
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
According to the .spec file, mjpegtools currently depends on glib2.  glib2 has an atomic-integer library (the g_atomic*() functions), but nothing in the project uses them yet.

Is there any reason I shouldn't use them?  I'm planning out some more multithreaded improvements and would like to use something more lightweight than mutexes and conditions.

Steven Boswell

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

_______________________________________________
Mjpeg-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mjpeg-developer