diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-23 08:54:27 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-23 08:54:27 +0000 |
commit | 1feb27209aee3921894ffc1cc08027670d4240f3 (patch) | |
tree | 6b79a2ca2620a7e287d9d18cc5d660a977984bb5 /pp_sys.c | |
parent | fd9459bc435247011bdd5dc44ff2358cc4d1b124 (diff) | |
download | perl-1feb27209aee3921894ffc1cc08027670d4240f3.tar.gz |
bring in basic threads stuff under USE_ITHREADS
p4raw-id: //depot/perl@4704
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -247,7 +247,7 @@ S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) Gid_t egid = getegid(); int res; - MUTEX_LOCK(&PL_cred_mutex); + LOCK_CRED_MUTEX; #if !defined(HAS_SETREUID) && !defined(HAS_SETRESUID) Perl_croak(aTHX_ "switching effective uid is not implemented"); #else @@ -293,7 +293,7 @@ S_emulate_eaccess(pTHX_ const char* path, Mode_t mode) #endif #endif Perl_croak(aTHX_ "leaving effective gid failed"); - MUTEX_UNLOCK(&PL_cred_mutex); + UNLOCK_CRED_MUTEX; return res; } |