util_gthread_id
Description:
Returns a 64-bit integer hopefully uniquely identifying the thread.
To be used in debugging output and logging only. The returned value is just a cast of a pointer to the 64-bit integer.
There is no guarantee that calling util_gthread_id on one thread first and later after that thread has dies on another won't return the same integer.
On Linux and Win32, known to really return a unique id for each thread existing at a certain time. No guarantee that ids won't be reused after a thread has terminated, though.
Parameters:
thread |
A Thread pointer |
Returns:
A 64-bit integer. |
Namespace: E
Package: libedataserver-1.2