wtc%netscape.com
009810cff6
Bugzilla bug #17223 : added the PR_MSG_PEEK (with same value as MSG_PEEK)
...
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
2000-05-03 01:22:54 +00:00
wtc%netscape.com
50696e13da
Bugzilla bug #30902 : use true atomic implementation of the NSPR atomic
...
routines on Linux on Intel x86.
Modified files: _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added file: os_Linux_x86.s
git-svn-id: svn://10.0.0.236/trunk@67018 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:22:14 +00:00
wtc%netscape.com
8acc6a5465
Bugzilla bug #34292 : checked in OS/2 patch from Skip Nizinski
...
<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
2000-04-03 17:51:02 +00:00
wtc%netscape.com
d217b7e240
Bugzilla bug #27175 : Changed the PRFuncPtr type to void (*)(), to be
...
consistent with the type of the 'fp' field of PRStaticLinkTable.
git-svn-id: svn://10.0.0.236/trunk@64535 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:54:33 +00:00
wtc%netscape.com
09b18f8def
Bugsplat bug #67751 : Renamed _PR_UnblockWaiters to _PR_UnblockLockWaiter
...
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
2000-03-29 00:17:59 +00:00
wtc%netscape.com
2032d7ea0e
Bugzilla bug #33043 : use System V shared memory and semaphores on
...
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
2000-03-23 19:05:37 +00:00
wtc%netscape.com
f6b7b3c133
Bugzilla bug #31697 : Mac OS X has System V shared memory.
...
git-svn-id: svn://10.0.0.236/trunk@63814 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:23:53 +00:00
srinivas%netscape.com
1d1743caf8
Implemented a new style stack of IO layers with a fixed, dummy header.
...
Bug #30914 .
git-svn-id: svn://10.0.0.236/trunk@63334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:15:27 +00:00
srinivas%netscape.com
e3d4bda386
When a PRLock is released all the waiters are unblocked, rather than assign
...
the lock to a waiting thread. Bug #67751 .
git-svn-id: svn://10.0.0.236/trunk@62946 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 20:16:39 +00:00
srinivas%netscape.com
f463e58338
Added new functions to look up function symbols in dynamic libraries.
...
Bugzilla #27175 .
git-svn-id: svn://10.0.0.236/trunk@62935 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:54:25 +00:00
wtc%netscape.com
d589b4b0f9
Bugzilla bug #31697 : Mac OS X (Rhapsody) port, based on the patch that
...
Stuart Parmenter <pavlov@netscape.com> sent to me.
Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c,
rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile,
pr/tests/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@62792 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 00:43:31 +00:00
wtc%netscape.com
785e17dbbf
Bugzilla bug #30367 : define uint for Neutrino. Rearranged the ifdef's
...
in protypes.h so that it is easier to understand. Added the test
obsints.c to ensure that all the (obsolete) integer types are defined.
Added file: pr/tests/obsints.c
Modified files: protypes.h, pr/tests/Makefile, pr/tests/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@62347 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:48:41 +00:00
wtc%netscape.com
2c1c458572
Merged NSPR 4.0 release onto the main trunk.
...
git-svn-id: svn://10.0.0.236/trunk@62147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:53:57 +00:00
wtc%netscape.com
7f138566c6
Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
...
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
larryh%netscape.com
428940b12e
fix prtypes.h
...
git-svn-id: svn://10.0.0.236/trunk@61453 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 23:44:26 +00:00
wtc%netscape.com
1e9d69efdc
Bugzilla bug #21428 : fixed LL_CMP and LL_UCMP so that they can be used
...
with the <= and >= operators when HAVE_LONG_LONG is not defined. The
fix is contributed by John G. Myers <jgmyers@netscape.com>.
r=wtc@netscape.com .
git-svn-id: svn://10.0.0.236/trunk@59273 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:41:08 +00:00
sdagley%netscape.com
21c87ff63d
Fix #25042 . Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in.
...
git-svn-id: svn://10.0.0.236/trunk@59014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:00:28 +00:00
wtc%netscape.com
e3b57c43a3
Bugzilla bug #19150 : removed prlink_mac.h and the mac-specific
...
PR_LoadIndexedFragment and PR_LoadNamedFragment functions.
Modified files: pr/include/MANIFEST, prlink.c
Removed file: prlink_mac.h
git-svn-id: svn://10.0.0.236/trunk@58978 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:57:22 +00:00
wtc%netscape.com
99f9fe4467
Bugzilla bug #17101 : move plevent.h and plevent.c from mozilla/nsprpub
...
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h
git-svn-id: svn://10.0.0.236/trunk@58964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:27:37 +00:00
srinivas%netscape.com
c35e8af1b6
Add threadpool feature. Bugzilla #23951 . rwtc.
...
git-svn-id: svn://10.0.0.236/trunk@58116 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:45:29 +00:00
wtc%netscape.com
c3137bbb1e
Use only one definition of PipeAvailable and PipeAvailable64, which
...
requires _PR_MD_PIPEAVAILABLE. Define _MD_PIPEAVAILABLE for Mac.
Modified files: _macos.h, prfile.c
git-svn-id: svn://10.0.0.236/trunk@57563 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:37:38 +00:00
wtc%netscape.com
e8b864eb1b
Bugzilla bug #23304 : protypes.h should only test a macro defined in
...
prcpucfg.h (in this case, _aix32in6.cfg or _aix64.cfg).
Modified files: _aix32in6.cfg, _aix64.cfg, protypes.h
git-svn-id: svn://10.0.0.236/trunk@57334 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:53:08 +00:00
wtc%netscape.com
f8ccf3e8aa
Merged minor fixes related to PR_Available and PR_Sync for pipes
...
in NSPR 3.5.1 onto the main trunk.
Modified files: _win95.h, _winnt.h, prfile.c, ntio.c, w95io.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@57332 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:49:01 +00:00
srinivas%netscape.com
4f5b02e4cb
Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
...
Checkin for sobotka@axess.com . Bugzilla 23544.
git-svn-id: svn://10.0.0.236/trunk@57286 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:08:45 +00:00
wtc%netscape.com
cbaefa0b2d
Backed out the NSPR 3.5.1 merge. Mozilla client cannot exit on shutdown.
...
Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c,
ntio.c, w95io.c, ptio.c, ptthread.c
git-svn-id: svn://10.0.0.236/trunk@57220 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 23:05:24 +00:00
wtc%netscape.com
9fa2b0ab6d
Backed out the previous checkin (found a better fix).
...
git-svn-id: svn://10.0.0.236/trunk@57213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:40:59 +00:00
wtc%netscape.com
a80f218233
Define _MD_PIPEAVAILABLE for mac (simply returns -1).
...
git-svn-id: svn://10.0.0.236/trunk@57211 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:22:26 +00:00
wtc%netscape.com
0457ce2a48
Merged the fixes in NSPR 3.5.1 to the main trunk.
...
Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c,
ntio.c, w95io.c, ptio.c, ptthread.c
git-svn-id: svn://10.0.0.236/trunk@57208 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 15:17:59 +00:00
srinivas%netscape.com
0c754e7fb7
Add new API declaration, NSPR_API. Bugzilla #12913 .
...
git-svn-id: svn://10.0.0.236/trunk@57054 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 01:28:13 +00:00
cls%seawood.org
28c58e7c8f
Sync'd Makefile.in's to reflect srinivas' NSPR API changes.
...
git-svn-id: svn://10.0.0.236/trunk@56939 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 06:09:27 +00:00
srinivas%netscape.com
611574364e
Backed out previous checkin; NSPR_API needs to be defined for Mac.
...
Bugzilla #12913 .
git-svn-id: svn://10.0.0.236/trunk@56930 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 02:17:03 +00:00
srinivas%netscape.com
b8b66e0118
Support platform-specific import declaration for public NSPR functions.
...
Bugzilla #12913 . rwtc.
git-svn-id: svn://10.0.0.236/trunk@56925 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:45:29 +00:00
srinivas%netscape.com
3c45f9a79e
PR_FindSymbol looks up a symbol only in the specified library.
...
Bugzilla #16554 .
git-svn-id: svn://10.0.0.236/trunk@56474 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 02:51:37 +00:00
wtc%netscape.com
b171a9ac45
Checked in NetBSD/MIPS port contributed by Tom Weinstein
...
<tomw@geocast.com>.
Modified files: _netbsd.cfg, _netbsd.h
git-svn-id: svn://10.0.0.236/trunk@56460 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:58:07 +00:00
wtc%netscape.com
6629ab21d6
Fixed pthreads build problems on OpenBSD (Bugzilla bug #20529 ) and FreeBSD.
...
Modified files: _freebsd.h, _openbsd.h, ptio.c, ptsynch.c,
pr/tests/Makefile
git-svn-id: svn://10.0.0.236/trunk@56451 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:39:09 +00:00
wtc%netscape.com
dc180fef3a
NetBSD has System V semaphores and shared memory.
...
git-svn-id: svn://10.0.0.236/trunk@56442 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:42:47 +00:00
wtc%netscape.com
38d2c001fb
Bugzilla bug #20528 : UnixWare 7 has long longs, so add a new _unixware7.cfg
...
for UnixWare 7 that defines HAVE_LONG_LONG.
Modified file: pr/include/md/Makefile
Added file: _unixware7.cfg
git-svn-id: svn://10.0.0.236/trunk@56398 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:51:13 +00:00
gordon%netscape.com
795b69917e
Checkin for Mark Welch. Approved by wtc. Reviewed by gordon. Fixes for bugs 4318 and 4320 (server sockets and blocking socket IO for mac).
...
git-svn-id: svn://10.0.0.236/trunk@55638 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:22:59 +00:00
wtc%netscape.com
9c9a6b4b15
Reworked how thread scanning is done, so thread objects can now be
...
safely allocated on the thread stack. Moved the GC scanning code
into NSPR in a new file called prgcleak.c. (Checkin for Patrick Beard.)
Modified files: primpl.h, prinit.c, prthinfo.c, pruthr.c.
Added file: prgcleak.c.
git-svn-id: svn://10.0.0.236/trunk@55621 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:23:48 +00:00
wtc%netscape.com
2bf770f3af
Bugzilla bug #20770 : Solaris 8 has getipnodebyname().
...
git-svn-id: svn://10.0.0.236/trunk@55242 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:05:04 +00:00
larryh%netscape.com
1ca16c0791
BugZilla: 19247. Add support for VMS, QNX, NTO
...
git-svn-id: svn://10.0.0.236/trunk@54570 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 19:42:11 +00:00
larryh%netscape.com
7e10edeacf
BugZilla: 19448. Back out disable call to _PR_MD_GetRandomNoise()
...
git-svn-id: svn://10.0.0.236/trunk@54294 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 19:15:32 +00:00
larryh%netscape.com
98b909eb6b
BugZilla 19448. Temporary circumvention
...
git-svn-id: svn://10.0.0.236/trunk@54289 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:33:20 +00:00
wtc%netscape.com
f6d1c72f04
This header file should not define HAVE_UINT. There should be a better
...
solution solution for the problem this solved.
git-svn-id: svn://10.0.0.236/trunk@53932 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:58:21 +00:00
wtc%netscape.com
3fb7dc1743
_macos.h: define _MD_MINIMUM_STACK_SIZE to be 58K.
...
pruthr.c: removed unnecessary XP_MAC code since _MD_MINIMUM_STACK_SIZE is
checked by _PR_ADJUST_STACKSIZE.
git-svn-id: svn://10.0.0.236/trunk@53930 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:56:45 +00:00
wtc%netscape.com
9cb44715ee
Removed unnecessary _MD_MINIMUM_STACK_SIZE macro definition. Define this
...
macro only if the platform has a minimum stack size requirement.
git-svn-id: svn://10.0.0.236/trunk@53928 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:52:58 +00:00
larryh%netscape.com
bd7fed59fd
BugZilla: 19247
...
git-svn-id: svn://10.0.0.236/trunk@53916 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 22:23:00 +00:00
larryh%netscape.com
9ef040228f
BugZilla: 19247, fix declaration of _PR_MD_GetRandomNoise()
...
git-svn-id: svn://10.0.0.236/trunk@53911 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:38:39 +00:00
sdagley%netscape.com
372a9629c1
Fix Mac bustage. Make PR_GetRandomNoise() compile. Don't know about working yet.
...
git-svn-id: svn://10.0.0.236/trunk@53909 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:16:51 +00:00
larryh%netscape.com
079ba173e7
BugZilla: 19247. PR_GetRandomNoise()
...
git-svn-id: svn://10.0.0.236/trunk@53900 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:29:17 +00:00