Displaying 1 result from an estimated 1 matches for "ul_self".
Did you mean:
_self
2008 Mar 04
0
Determining curthread pointer (ulwp_t) via libproc on i386
...----------------------------
But things don''t seem to be as simple as that for the 32-bit/32-bit
case. From usr/src/uts/intel/dtrace/fasttrap_isa.c, we have this code
for the i386 case (to get the address of the thread-local scratch
space used for fasttrap probes, which is just after the ul_self
pointer):
--------------------------------------------------------------------------------
/*
* Compute the address of the ulwp_t and step over the
* ul_self pointer. The method used to store the user-land
* thread pointer is very...