Menu

atomic functions in GLib

GLib supports the following atomic functions on integers:

  • g_atomic_int_set
  • g_atomic_int_get
  • g_atomic_int_or
  • g_atomic_int_and
  • g_atomic_int_xor
  • g_atomic_int_inc
  • g_atomic_int_add
  • ...

which makes live much easier.

Posted by Joël Krähemann 2013-09-14

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.