mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-irix-compiler-hates-commas-20061010
damn is irix fussy (cherry picked from commit 59234e93a7aaf2f62bdd19bea39681e74752d1c5)
This commit is contained in:
parent
dc4263fc99
commit
c15cc959f5
@ -160,7 +160,7 @@ extern flid_t osi_flid;
|
||||
#else
|
||||
#define AFS_GLOCK() AFS_MUTEX_ENTER(&afs_global_lock)
|
||||
#endif
|
||||
#define AFS_GUNLOCK() (AFS_ASSERT_GLOCK(), mutex_exit(&afs_global_lock))
|
||||
#define AFS_GUNLOCK() { AFS_ASSERT_GLOCK(); mutex_exit(&afs_global_lock); }
|
||||
#define ISAFS_GLOCK() mutex_mine(&afs_global_lock)
|
||||
#else
|
||||
extern long afs_global_owner;
|
||||
@ -170,7 +170,7 @@ extern long afs_global_owner;
|
||||
afs_global_owner = osi_ThreadUnique(); \
|
||||
MACRO_END
|
||||
#define AFS_GUNLOCK() \
|
||||
(AFS_ASSERT_GLOCK(), afs_global_owner = 0, mutex_exit(&afs_global_lock))
|
||||
{ AFS_ASSERT_GLOCK(); afs_global_owner = 0; mutex_exit(&afs_global_lock); }
|
||||
#define ISAFS_GLOCK() (osi_ThreadUnique() == afs_global_owner)
|
||||
#endif /* AFS_SGI64_ENV */
|
||||
#else /* MP */
|
||||
|
Loading…
x
Reference in New Issue
Block a user