I am using glib for creating threads:
g_thread_create()
How can I acquire thread id (number)?
I am using glib for creating threads:
g_thread_create()
How can I acquire thread id (number)?
You can't. The thread ID is abstracted away in GLib. What do you need it for?