g_thread_self



I didn't see a seperate mailing list for glib questions so I hope this
is the correct forum.

According to the Glib documentation, g_thread_self should return the
GThread* of the current thread (the thread from which this function is
called).

However, when I compare the pointer returned by g_thread_create() and
the pointer returned by g_thread_self() they are not the same.  Can
anyone help me understand why the two are not the same?  Are my
expectations wrong?

Using glib2-2.2.3-0.ximian.6.2

Thanks in advance,
Bryan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]