.gdk_lock and the GDK locking scheme