[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pthread2lwp API
Date: Fri, 22 Apr 2016 13:27:17 +0200
From: Kamil Rytarowski <n54%gmx.com@localhost>
In my current use-case is to access l_rtime_sec and l_rtime_usec from
I don't see a way to do it cleanly, something different than reading
opaque pthread_t pointer and accessing rawly pt_lid at some offset.
What is the motivation for trying to get at l_rtime_sec and
l_rtime_usec within your process?
In general the result can't be reliable -- the thread might exit as
soon as you've gotten the lwpid.
Main Index |
Thread Index |