Glib: Gthread: unique thread id question
- From: avpak ngs ru
- To: gtk-devel-list gnome org
- Subject: Glib: Gthread: unique thread id question
- Date: Tue, 16 Nov 2010 19:33:12 +0600
Is there any function that provides unique id for each
In documentation I've read about GThread structure and
Although there is no statement that GThread* returned by
g_thread_self() is unique for calling thread.
Small test example has revealed that g_thread_self() is
unique for any thread created with g_thread_create().
But for threads created with pthread_create() I've seen
that sometimes g_thread_self() returned same pointer for
] [Thread Prev