Re: thread id
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtkmm-list gnome org
- Cc: Mark Wilson <mwil lle rochester edu>
- Subject: Re: thread id
- Date: Tue, 19 Sep 2006 10:53:44 +0100
On Monday 18 September 2006 14:56, Mark Wilson wrote:
> Is there any way to obtain a thread id, or is there some other way to
> tell which thread I'm in using glibmm::thread?
Glib::Thread::create() returns a pointer to a Glib::Thread object which
represents the running thread. If you store it you can compare it later with
the Glib::Thread pointer returned by Glib::Thread::self(), which is also a
static member function.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]