for PR_Recv(). Define _PR_EMULATE_MSG_PEEK on platforms that don't
natively support MSG_PEEK. Implemented PR_MSG_PEEK for pthreads.
Added the peek.c test case.
Modified files: prio.h, _macos.h, _winnt.h, primpl.h, ptio.c,
pr/tests/Makefile, pr/tests/Makefile.in
Added file: pr/tests/peek.c
git-svn-id: svn://10.0.0.236/trunk@67998 18797224-902f-48f8-a5cc-f745e15eee43
PR_TRUNCATE | PR_CREATE_FILE and also fixed _PR_MD_SET_FD_INHERITABLE.
Thanks to Skip Nizinski <snizinsk@us.ibm.com> of IBM Corporation for
the patch.
git-svn-id: svn://10.0.0.236/trunk@67786 18797224-902f-48f8-a5cc-f745e15eee43
Thanks to snizinsk@us.ibm.com of IBM Corporation for contributing the
patch.
git-svn-id: svn://10.0.0.236/trunk@67441 18797224-902f-48f8-a5cc-f745e15eee43
and PR_Interrupt. Thanks to justin morey <justin@68k.org> for the bug
report and the patch.
Modified files: btcvar.c, btthread.c
git-svn-id: svn://10.0.0.236/trunk@67162 18797224-902f-48f8-a5cc-f745e15eee43
using cmpxchg in the comments. Made PR_AtomicAdd a little more efficient.
git-svn-id: svn://10.0.0.236/trunk@67130 18797224-902f-48f8-a5cc-f745e15eee43
the load library function fails. Thanks to justin@68k.org for the bug
report and suggesting a fix.
git-svn-id: svn://10.0.0.236/trunk@66476 18797224-902f-48f8-a5cc-f745e15eee43
that allows ARM systems other than v4l and SA110 to be correctly detected.
git-svn-id: svn://10.0.0.236/trunk@65037 18797224-902f-48f8-a5cc-f745e15eee43
<snizinsk@us.ibm.com> to build with the VisualAge C++ compiler
which uses the Optlink calling convention.
Modified files: prtypes.h, OS2.mk, prlog.c
git-svn-id: svn://10.0.0.236/trunk@65035 18797224-902f-48f8-a5cc-f745e15eee43
and PR_FindFunctionSymbolAndLibrary in terms of the old functions
PR_FindSymbol and PR_FindSymbolAndLibrary, to minimize the risk of
the new code breaking the build.
git-svn-id: svn://10.0.0.236/trunk@64539 18797224-902f-48f8-a5cc-f745e15eee43
and changed the return type to void. Fixed a bug in the code that skips
over a suspended thread.
Modified files: primpl.h, prulock.c, pruthr.c
git-svn-id: svn://10.0.0.236/trunk@64406 18797224-902f-48f8-a5cc-f745e15eee43
Solaris 2.5.1 because the POSIX shared memory and semaphore functions
fail with ENOSYS.
git-svn-id: svn://10.0.0.236/trunk@63868 18797224-902f-48f8-a5cc-f745e15eee43
pending_notify count before broadcasting on the cv to prevent
the interrupted thread from destroying the cv before
pthread_cond_broadcast returns.
git-svn-id: svn://10.0.0.236/trunk@63751 18797224-902f-48f8-a5cc-f745e15eee43
functions (which just fail with PR_NOT_IMPLEMENTED_ERROR) if neither
POSIX nor System V semaphores are supported. Fixed an error in the
comments.
git-svn-id: svn://10.0.0.236/trunk@63749 18797224-902f-48f8-a5cc-f745e15eee43
'realclean' and 'clobber_all' synonymous with 'distclean'. This
patch is contributed by Chris Seawood <cls@seawood.org>. r=wtc@netscape.com
Modified files: Makefile, Makefile.in, configure, configure.in,
config/Makefile.in, config/config.mk, config/rules.mk
git-svn-id: svn://10.0.0.236/trunk@63171 18797224-902f-48f8-a5cc-f745e15eee43
initialization and have NSPR initialization wait until the timer
manager thread starts to run.
Modified files: prmwait.c, prinit.c
git-svn-id: svn://10.0.0.236/trunk@63063 18797224-902f-48f8-a5cc-f745e15eee43
nil when we return from SendReceiveStream so that we don't leave a
dangling reference for the OT notifier routine. This patch is submitted
by Gordon Sheridon <gordon@netscape.com>. r=wtc@netscape.coma=jar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@62950 18797224-902f-48f8-a5cc-f745e15eee43