I am using boost 1.47 on linux/solaris(/hpux).
Can you please tell me, how to find out the lock owner of a mutex (named_recursive_mutex) ?
(in case i can't equire the lock within a timeout).
In posix' pthread_mutex_t there is a
int __owner;
which holds the thread id (gettid())
But i can't find it in boost::interprocess.
Ok. there might be different base implementations for mutex/threads/etc.
But is there a "boost ID", that can be logged by application using boost
which might be a linux/unix thread id, but maybe something else?
- many thanks!
best regards,
Frank