wtc%netscape.com
b493ea8e99
Added hash lock counts to collect statistics on how often each lock is
...
used.
git-svn-id: svn://10.0.0.236/trunk@20482 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:59:52 +00:00
wtc%netscape.com
2ade6c86f9
Bugsplat bug #342631 : a better implementation of the atomic routines
...
for HP-UX 11. Use a set of locks to reduce lock contention. Thanks
to Rick Swift <swift@npec.netscape.com > for contributing this code.
git-svn-id: svn://10.0.0.236/trunk@20442 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 20:06:31 +00:00
wtc%netscape.com
7c0e3e8a42
Added the sockping and sockpong tests.
...
git-svn-id: svn://10.0.0.236/trunk@20317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:44:06 +00:00
wtc%netscape.com
b092c9244f
Declare Test_Result as returning void. Changed AF_INET and INADDR_XXX
...
to PR_AF_INET and PR_INADDR_XXX.
git-svn-id: svn://10.0.0.236/trunk@20315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:43:30 +00:00
wtc%netscape.com
ebc409c1ab
Changed AF_INET and INADDR_XXX to PR_AF_INET and PR_INADDR_XXX.
...
git-svn-id: svn://10.0.0.236/trunk@20312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:39:16 +00:00
wtc%netscape.com
8676f937c5
Added the pipeping, pipepong, and pipeself tests.
...
git-svn-id: svn://10.0.0.236/trunk@20281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:46:39 +00:00
srinivas%netscape.com
e0a0cd6cc0
Display nspr version info. by default.
...
git-svn-id: svn://10.0.0.236/trunk@20088 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:34:09 +00:00
srinivas%netscape.com
e2b9415d7c
Code cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@20087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:30:29 +00:00
srinivas%netscape.com
269ea070e6
Reduce default thread count.
...
git-svn-id: svn://10.0.0.236/trunk@20086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:29:40 +00:00
srinivas%netscape.com
24697ab983
Reduce default values of counters.
...
git-svn-id: svn://10.0.0.236/trunk@20030 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:28:30 +00:00
srinivas%netscape.com
af87a2f248
Code cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@20028 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:27:02 +00:00
srinivas%netscape.com
e1f581ea95
Build additional tests
...
git-svn-id: svn://10.0.0.236/trunk@20026 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:25:05 +00:00
wtc%netscape.com
c8fd58e07d
Fixed compilation problems on AIX 4.3. Test the macro SF_CLOSE to
...
determine whether an AIX revision has send_file(). Thanks to
Waqar Malik <waqar@netscape.com > for the bug report and fix.
git-svn-id: svn://10.0.0.236/trunk@19926 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:30:50 +00:00
wtc%netscape.com
decc73730c
Added struct declarations to eliminate compiler warnings from
...
<arpa/inet.h> on AIX 4.3. Thanks to Waqar Malik <waqar@netscpe.com >
for the bug report.
git-svn-id: svn://10.0.0.236/trunk@19925 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:25:17 +00:00
wtc%netscape.com
eb5213b27e
Implemented file descriptor inheritance for NT.
...
Modified files: _winnt.h, prfile.c, prio.c, prsocket.c, ntio.c,
w32poll.c, and prinit.c.
git-svn-id: svn://10.0.0.236/trunk@19827 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 06:45:06 +00:00
wtc%netscape.com
67291a1077
Removed unused variable warnings by the Macintosh compiler. The patch
...
is contributed by Kathleen Brade <brade@netscape.com >.
git-svn-id: svn://10.0.0.236/trunk@19688 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 15:53:49 +00:00
wtc%netscape.com
18342c47bf
Bugsplat bug #340658 : implemented a version of the atomic routines
...
for the pthreads version that doesn't require NSPR to be initialized.
git-svn-id: svn://10.0.0.236/trunk@19234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:08:25 +00:00
wtc%netscape.com
f9d634c294
Pthreads version doesn't need _MD_StartInterrupts().
...
Modified files: prinit.c and ptmisc.c.
git-svn-id: svn://10.0.0.236/trunk@19227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:25:44 +00:00
wtc%netscape.com
b06d843c95
Commented out the sigwait() call for BSDI. BSD/OS 3.1 does not have
...
the sigwait() function.
git-svn-id: svn://10.0.0.236/trunk@19226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:24:58 +00:00
wtc%netscape.com
22930c0928
In _PR_InitThreads, call pthread_init to explicitly initialize the
...
pthread subsystem on BSD/OS because pthread_self() fails to initialize
pthreads implicitly. This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com >.
git-svn-id: svn://10.0.0.236/trunk@19193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 20:01:36 +00:00
wtc%netscape.com
a425bde170
Added a missing PR_htons call. Thanks to Bert Driehuis
...
<bert_driehuis@nl.compuware.com > for the bug report and fix.
git-svn-id: svn://10.0.0.236/trunk@19192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:56:49 +00:00
wtc%netscape.com
d381cc106d
Changed /usr/tmp/ to /tmp/. BSD/OS does not have /usr/tmp/.
...
Thanks to Bert Driehuis <bert_driehuis@nl.compuware.com > for the fix.
git-svn-id: svn://10.0.0.236/trunk@19191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:55:48 +00:00
wtc%netscape.com
92220dd477
Run the default test program 'cvar -c 2000" if no command-line
...
arguments are given.
git-svn-id: svn://10.0.0.236/trunk@19190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:26:56 +00:00
wtc%netscape.com
ee128013bb
In primpl.h, moved the definitions of macros _PR_MD_INIT_LOCKS and
...
_PR_MD_START_INTERRUPTS from the common section to the classic nspr
section. These macros are not used in the pthreads version.
Modified files: primpl.h, _pth.h, and ptsynch.c.
git-svn-id: svn://10.0.0.236/trunk@19187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:20:05 +00:00
srinivas%netscape.com
04c3551b99
Add support for creating bound threads. Bug 338607.
...
git-svn-id: svn://10.0.0.236/trunk@19131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 00:41:51 +00:00
wtc%netscape.com
950647ee49
This file is no longer necessary.
...
git-svn-id: svn://10.0.0.236/trunk@18896 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:41:08 +00:00
wtc%netscape.com
395cdccbc3
Bugsplat bug #340124 : increase the default thread stack size to 64K
...
on IRIX, to be consistent with the other platforms.
git-svn-id: svn://10.0.0.236/trunk@18893 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:20:29 +00:00
wtc%netscape.com
13cf4874d5
Minor editing.
...
git-svn-id: svn://10.0.0.236/trunk@18844 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:27:20 +00:00
wtc%netscape.com
67dce0cfb1
changed value of TOO_LONG to 5000
...
git-svn-id: svn://10.0.0.236/trunk@18843 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:26:30 +00:00
wtc%netscape.com
c724a8ef4b
Checked in second batch of BeOS port patches contributed by
...
Matthew Zahorik <maz@albany.net >.
git-svn-id: svn://10.0.0.236/trunk@18832 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:19:40 +00:00
wtc%netscape.com
4174f88609
Backed out the previous revision, which was checked in when the tree
...
is closed.
git-svn-id: svn://10.0.0.236/trunk@18825 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 22:39:53 +00:00
wtc%netscape.com
c543c71121
changed value of TOO_LONG to 5000
...
git-svn-id: svn://10.0.0.236/trunk@18824 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 22:36:24 +00:00
sdagley%netscape.com
b9ba3e6a61
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@18727 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:12:38 +00:00
sdagley%netscape.com
3b80fdaa48
Updating so that builds on the Mac will use a SIOUX console window rather than writing to a file (which doesn't work unless running under the debugger for an undetermined reason).
...
git-svn-id: svn://10.0.0.236/trunk@18726 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:11:54 +00:00
wtc%netscape.com
c49c5990c0
Bugsplat bug #340901 : On AIX, PR_TransmitFile calls the new send_file()
...
system call if it is available. The patch is contributed by IBM's
Anthony Moore <anthonym@npec.netscape.com >.
git-svn-id: svn://10.0.0.236/trunk@18708 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:12:16 +00:00
wtc%netscape.com
f2c3098f2c
Dealt with the definitions of the obsolete integer types that
...
conflict with the typedefs in BeOS's <support/SupportDefs.h>.
(Acknowledgment: Matthew Zahorik <maz@albany.net >)
git-svn-id: svn://10.0.0.236/trunk@18585 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:23:03 +00:00
wtc%netscape.com
7761ce2d75
Merged first batch of BeOS port patches contributed by
...
Matthew Zahorik <maz@albany.net >.
git-svn-id: svn://10.0.0.236/trunk@18564 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:56:55 +00:00
wtc%netscape.com
5e0ff19bc7
Added BeOS files contributed by Matthew Zahorik <maz@albany.net>.
...
git-svn-id: svn://10.0.0.236/trunk@18533 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:52:00 +00:00
wtc%netscape.com
18ddca2674
Added new BeOS files contributed by Matthew Zahorik <maz@albany.net>.
...
git-svn-id: svn://10.0.0.236/trunk@18529 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:41:16 +00:00
wtc%netscape.com
6e40fc8cb5
The build/hcc and build/hcpp scripts now take the compiler name as the
...
first argument. This patch is contributed by Tim Rice <tim@trr.metro.net >.
git-svn-id: svn://10.0.0.236/trunk@18316 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 17:24:20 +00:00
wtc%netscape.com
d9166e1649
Bugsplat bug #340345 : need to initialize the last two function pointers
...
in the file I/O method table.
git-svn-id: svn://10.0.0.236/trunk@18249 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:49:28 +00:00
wtc%netscape.com
b14b6cf164
Removed an extra comma.
...
git-svn-id: svn://10.0.0.236/trunk@18247 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:47:31 +00:00
wtc%netscape.com
e2e5fa8fb9
Bugsplat bug #340332 : _PR_MD_CLOSE should wait, with no timeout,
...
until the pending async I/O operation is aborted. Thanks to
Mark Rawling <mwr@npec.netscape.com > for the bug report and help
with debugging.
git-svn-id: svn://10.0.0.236/trunk@18209 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:11:22 +00:00
wtc%netscape.com
30bf014603
Removed unnecessary macro define -D_THREAD_SAFE.
...
git-svn-id: svn://10.0.0.236/trunk@18182 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:49:31 +00:00
srinivas%netscape.com
bb380e6470
Suspended local threads should be moved to the suspend queue after I/O
...
completion or timeout.
git-svn-id: svn://10.0.0.236/trunk@18085 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:13:06 +00:00
wtc%netscape.com
661e55b97f
Merged the pthreads patches for BSD/OS 4.0 contributed by
...
Bert Driehuis <bert_driehuis@nl.compuware.com >.
Modified files: BSD_OS.mk, _pth.h, bsdi.c, ptio.c, and pr/tests/Makefile.
git-svn-id: svn://10.0.0.236/trunk@18037 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:38:54 +00:00
wtc%netscape.com
efcfe62f11
Bugzilla bug #2431 : fixed PL_GetNextOpt so that it returns PL_OPT_BAD
...
instead of asserts when an option that has an associated value is
not followed by a value. Also fixed a bug that incorrectly skipped
the option following a naked option.
git-svn-id: svn://10.0.0.236/trunk@17872 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:13:26 +00:00
larryh%netscape.com
a3ac02c342
Diffs from John Fairhurst mjf35@hermes.cam.ac.uk for OS/2
...
git-svn-id: svn://10.0.0.236/trunk@17738 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 16:14:22 +00:00
wtc%netscape.com
c8cd5bfcd5
Bugzilla bug #2248 : PR_ImportFile, PR_ImportTCPSocket, and
...
PR_ImportUDPSocket should initialize NSPR implicitly. Thanks
to John McMullen <mcmullen@netscape.com > for the bug report
and fix.
git-svn-id: svn://10.0.0.236/trunk@17393 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:24:14 +00:00
wtc%netscape.com
b67bcf4843
Removed hardcoded AIX pathnames /usr/lpp/xlC from the makefiles,
...
because the new version of AIX xlC compilers (3.6.4) is installed
in a different directory (/usr/ibmcxx).
git-svn-id: svn://10.0.0.236/trunk@17384 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 19:51:14 +00:00