mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE14-hpux11-thread-lock-tracking-20071109
do this for hpux also (cherry picked from commit 757bdb092ec4e1db9c7dc949499cc761982bd105)
This commit is contained in:
parent
09d9a0d86f
commit
476143dd4d
@ -102,9 +102,15 @@ extern tid_t thread_self();
|
||||
#define MyPidxx2Pid(x) ((afs_int32)(x))
|
||||
#else /* AFS_AIX41_ENV */
|
||||
#if defined(AFS_HPUX101_ENV)
|
||||
#if defined(AFS_HPUX1111_ENV)
|
||||
typedef struct kthread * afs_lock_tracker_t;
|
||||
#define MyPidxx (u.u_kthreadp)
|
||||
#define MyPidxx2Pid(x) (x ? kt_tid(x) : 0)
|
||||
#else
|
||||
typedef struct proc * afs_lock_tracker_t;
|
||||
#define MyPidxx (u.u_procp)
|
||||
#define MyPidxx2Pid(x) (x ? (afs_int32)p_pid(x) : 0)
|
||||
#endif
|
||||
#else
|
||||
#if defined(AFS_SGI64_ENV)
|
||||
#if defined(AFS_SGI65_ENV)
|
||||
|
Loading…
x
Reference in New Issue
Block a user