mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
STABLE14-solaris-mypid-track-threads-20070104
based on suggestion by tkeiser
(cherry picked from commit 267b548a48
)
This commit is contained in:
parent
7efacf2848
commit
3b8b35b2f2
@ -86,7 +86,10 @@ typedef struct afs_bozoLock afs_bozoLock_t;
|
||||
#define BEGINMAC do {
|
||||
#define ENDMAC } while (0)
|
||||
|
||||
#if defined(AFS_SUN5_ENV) || defined(AFS_OBSD_ENV)
|
||||
#if defined(AFS_SUN57_ENV)
|
||||
#define MyPidxx (curthread->t_tid)
|
||||
#else
|
||||
#if defined(AFS_OBSD_ENV) || defined(AFS_SUN5_ENV)
|
||||
#define MyPidxx (curproc->p_pid)
|
||||
#else
|
||||
#if defined(AFS_AIX41_ENV)
|
||||
@ -124,6 +127,7 @@ extern tid_t thread_self();
|
||||
#endif /* AFS_HPUX101_ENV */
|
||||
#endif /* AFS_AIX41_ENV */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* all locks wait on excl_locked except for READ_LOCK, which waits on readers_reading */
|
||||
struct afs_lock {
|
||||
|
Loading…
Reference in New Issue
Block a user