Le 24/03/2014 01:36, Joël Krähemann a écrit : > [...] > > The following will compile but is it still correct? > > g_atomic_pointer_set(&(returnable_thread->safe_data), > NULL);
Yes, as the atomic_int* functions expect a pointer to the integer to atomically set, the atomic_pointer* ones expect a pointer to the pointer to atomically set. Cheers, Colomban _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list