diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-07-01 22:26:37 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-07-01 22:26:37 +0000 |
commit | 1ffe97217f033cf22ba04a93b7f26dbb7cc3f724 (patch) | |
tree | 7b7b848f0ba78c8ef34b5d5a8fff1a610a1f2785 /pr/src/pthreads | |
parent | 7c2eef117a3734f7bb39052778908db959a2018d (diff) | |
download | nspr-hg-1ffe97217f033cf22ba04a93b7f26dbb7cc3f724.tar.gz |
Bugzilla Bug 298674: initial checkin of the RISC OS port contributed by
Peter Naulls <peter@chocky.org>. r=wtc.
Modified files: configure configure.in _pth.h prosdep.h prlink.c
prmem.c unix.c uxrng.c prsystem.c ptio.c ptthread.c
Added files: _riscos.cfg _riscos.h riscos.c
Diffstat (limited to 'pr/src/pthreads')
-rw-r--r-- | pr/src/pthreads/ptio.c | 4 | ||||
-rw-r--r-- | pr/src/pthreads/ptthread.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pr/src/pthreads/ptio.c b/pr/src/pthreads/ptio.c index 8c6e7e97..7a4ce96f 100644 --- a/pr/src/pthreads/ptio.c +++ b/pr/src/pthreads/ptio.c @@ -208,7 +208,7 @@ static PRBool _pr_ipv6_v6only_on_by_default; || defined(HPUX10_30) || defined(HPUX11) || defined(LINUX) \ || defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \ || defined(BSDI) || defined(VMS) || defined(NTO) || defined(DARWIN) \ - || defined(UNIXWARE) + || defined(UNIXWARE) || defined(RISCOS) #define _PRSelectFdSetArg_t fd_set * #else #error "Cannot determine architecture" @@ -3232,7 +3232,7 @@ static PRIOMethods _pr_socketpollfd_methods = { #if defined(HPUX) || defined(OSF1) || defined(SOLARIS) || defined (IRIX) \ || defined(AIX) || defined(LINUX) || defined(FREEBSD) || defined(NETBSD) \ || defined(OPENBSD) || defined(BSDI) || defined(VMS) || defined(NTO) \ - || defined(DARWIN) || defined(UNIXWARE) + || defined(DARWIN) || defined(UNIXWARE) || defined(RISCOS) #define _PR_FCNTL_FLAGS O_NONBLOCK #else #error "Can't determine architecture" diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c index 5d3d75c7..c8b41c11 100644 --- a/pr/src/pthreads/ptthread.c +++ b/pr/src/pthreads/ptthread.c @@ -1233,7 +1233,8 @@ static void suspend_signal_handler(PRIntn sig) while (me->suspend & PT_THREAD_SUSPENDED) { #if !defined(FREEBSD) && !defined(NETBSD) && !defined(OPENBSD) \ - && !defined(BSDI) && !defined(VMS) && !defined(UNIXWARE) && !defined(DARWIN) /*XXX*/ + && !defined(BSDI) && !defined(VMS) && !defined(UNIXWARE) \ + && !defined(DARWIN) && !defined(RISCOS) /*XXX*/ PRIntn rv; sigwait(&sigwait_set, &rv); #endif |