g_atomic_int_compare_and_exchange
I was just looking at gatomic.c to see if g_atomic_int_compare_and_exchange() would work on an integer inside memory obtained by mmap(MAP_SHARED) safely between processes. With my limited understanding it looks like it probably would except for the cases when it has to fall back to g_mutex_()* ops
[no subject]
http://bit.ly/9aga1E ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list