threads: glib threads