diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1999-01-26 08:39:46 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-02-02 12:37:57 +0000 |
commit | 27139dc0aadcd63d1e37ba7200a6020fbb0b47a5 (patch) | |
tree | 2beb7ee92a75d6c4a1abbd700a79b87f9ef6e830 /os2/os2ish.h | |
parent | 39fa2da706e5b2820e5e3b8658ae46922b67eb5e (diff) | |
download | perl-27139dc0aadcd63d1e37ba7200a6020fbb0b47a5.tar.gz |
OS/2 threads
To: Mailing list Perl5 <perl5-porters@perl.org>
Message-ID: <19990126133946.A11594@monk.mps.ohio-state.edu>
p4raw-id: //depot/cfgperl@2769
Diffstat (limited to 'os2/os2ish.h')
-rw-r--r-- | os2/os2ish.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os2/os2ish.h b/os2/os2ish.h index 20b2196b71..97b489b40d 100644 --- a/os2/os2ish.h +++ b/os2/os2ish.h @@ -152,7 +152,7 @@ extern int rc; #define pthread_setspecific(k,v) (*_threadstore()=v,0) #define pthread_self() _gettid() #define pthread_key_create(keyp,flag) (*keyp=_gettid(),0) -#define sched_yield() DosSleep(0) +#define YIELD DosSleep(0) #ifdef PTHREADS_INCLUDED /* For ./x2p stuff. */ int pthread_join(pthread_t tid, void **status); |