Query whether a thread is running



Hello!

Is it possible to query somehow whether a Glib::Thread * instance is running?
Does the joinable() method do this or does it just return the flag
that was given to the Thread::create() ?
Of course I could just have a separate bool flag for each thread which
I update manually, but I was wondering if there is some better
solution.

Thanks,

Andras


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