contributed the first 64-bit Windows patch (for IA64) in 2001. Portions
of this checkin are based on the patch contributed by Makoto Kato
<m_kato@ga2.so-net.ne.jp>. r=wtc.
Modified Files: configure configure.in prtypes.h _win95.cfg _win95.h
_winnt.cfg _winnt.h probslet.h pprio.h primpl.h
pr/src/Makefile.in prfile.c prio.c prsocket.c ntgc.c ntio.c
ntmisc.c w32rng.c w32shm.c w95io.c w95sock.c w95thred.c
prinit.c pr/tests/prpoll.c
git-svn-id: svn://10.0.0.236/trunk@182722 18797224-902f-48f8-a5cc-f745e15eee43
Windows because Windows' struct in6_addr has different alignment from
PRIPv6Addr. The patch is contributed by Shanmu <shanmus@gmail.com>. r=wtc.
Modified Files: md/_win95.h md/_winnt.h private/primpl.h
git-svn-id: svn://10.0.0.236/trunk@174883 18797224-902f-48f8-a5cc-f745e15eee43
MAX_POLLING_INTERVAL macro. The bug is reported by Justin Wood
<116057@bacon.qcc.mass.edu>.
git-svn-id: svn://10.0.0.236/trunk@168074 18797224-902f-48f8-a5cc-f745e15eee43
which should be defined on platforms (e.g., Unix and BeOS) that have
O_APPEND or its equivalent. The patch is contributed by tqh
<thesuckiestemail@yahoo.se>. r=wtc,sergei_d.
Modified files: _beos.h _unixos.h primpl.h prfile.c
git-svn-id: svn://10.0.0.236/trunk@167918 18797224-902f-48f8-a5cc-f745e15eee43
is created. It also exports two functions to set and unset the exception
handler function so they can be used by the primordial thread. The patch
is contributed by Javier Pedemonte <pedemont@us.ibm.com>. r=wtc.
Modified Files: pprthred.h os2extra.def os2thred.c
git-svn-id: svn://10.0.0.236/trunk@154276 18797224-902f-48f8-a5cc-f745e15eee43
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>. r=wtc.
Modified files: _os2 primpl.h os2thred.c
git-svn-id: svn://10.0.0.236/trunk@140063 18797224-902f-48f8-a5cc-f745e15eee43
only). Define it as a no-op in optimized builds. Deleted PT_GetStats,
which is not useful.
Modified files: primpl.h, nspr.def, ptio.c
git-svn-id: svn://10.0.0.236/trunk@135927 18797224-902f-48f8-a5cc-f745e15eee43
that times out from the GetQueuedCompletionStatus call in the WINNT build.
The fix is to shut down the CPU threads in PR_Cleanup.
Modified Files: _winnt.h primpl.h ntthread.c prinit.c prucpu.c
git-svn-id: svn://10.0.0.236/trunk@128312 18797224-902f-48f8-a5cc-f745e15eee43
PRFilePrivate structure because the OJI code in Sun Java 2 1.3-1
distribution is reading the 'md.osfd' field of this private structure.
git-svn-id: svn://10.0.0.236/trunk@123233 18797224-902f-48f8-a5cc-f745e15eee43
socket address length to socket functions like accept. Just fixed enough
of this problem for OJI to work with Mozilla on OpenVMS.
Modified Files: _openvms.h primpl.h ptio.c
git-svn-id: svn://10.0.0.236/trunk@123227 18797224-902f-48f8-a5cc-f745e15eee43
created by prmwait.c. The patch is contributed by Jeff Hostetler
<jeff@NerdOne.com>.
Modified files: primpl.h prmwait.c prinit.c ptthread.c
git-svn-id: svn://10.0.0.236/trunk@111126 18797224-902f-48f8-a5cc-f745e15eee43
in prdtoa.c. The patch is contributed by Jeff Hostetler <jeff@NerdOne.com>.
Modified files: primpl.h prdtoa.c prinit.c ptthread.c
git-svn-id: svn://10.0.0.236/trunk@111124 18797224-902f-48f8-a5cc-f745e15eee43
condition variable used to implement PR_CallOnce. This patch is
contributed by Jeff Hostetler <jeff@NerdOne.com>.
Modified files: primpl.h prinit.c ptthread.c
git-svn-id: svn://10.0.0.236/trunk@111123 18797224-902f-48f8-a5cc-f745e15eee43
the static data created by prlink.c. Parts of this patch were contributed
by Jeff Hostetler <jeff@NerdOne.com>.
Modified files: _win16.h primpl.h prlink.c prinit.c ptthread.c
git-svn-id: svn://10.0.0.236/trunk@111122 18797224-902f-48f8-a5cc-f745e15eee43
_PR_InitNet(). The patch is contributed by Jeff Hostetler
<jeff@NerdOne.com>.
Modified files: primpl.h prinit.c prnetdb.c ptthread.c
git-svn-id: svn://10.0.0.236/trunk@111111 18797224-902f-48f8-a5cc-f745e15eee43
because some of the Mozilla client code depends on the property that
PR_EnterMonitor and PR_ExitMonitor do not call malloc, calloc, and free.
Modified Files: _pth.h, primpl.h, ptsynch.c
git-svn-id: svn://10.0.0.236/trunk@104057 18797224-902f-48f8-a5cc-f745e15eee43
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h prenv.c prinit.c ptthread.c
git-svn-id: svn://10.0.0.236/trunk@102491 18797224-902f-48f8-a5cc-f745e15eee43
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, pruthr.c.
git-svn-id: svn://10.0.0.236/trunk@101991 18797224-902f-48f8-a5cc-f745e15eee43
PR_Cleanup(). The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, prustack.c
git-svn-id: svn://10.0.0.236/trunk@101987 18797224-902f-48f8-a5cc-f745e15eee43
pthread_t type and use 0 to indicate a lock has no owner. Added a
'locked' boolean field explicitly to PRLock. In PRMonitor, make the
owner field a PRThread* pointer, with a value of NULL indicating that
the monitor has no owner. Thanks to Takis Psarogiannakopoulos for
reporting this bug and spending a year (off and on) tracking it down.
Modified files: _pth.h, primpl.h, and ptsynch.c.
git-svn-id: svn://10.0.0.236/trunk@96353 18797224-902f-48f8-a5cc-f745e15eee43
lockfile function to avoid a deadlock. The lockCount field of
PRFilePrivate may have the value of -1 to indicate that the MD lockfile
function is in progress. Use _pr_flock_cv to wait for the completion
of the MD lockfile function.
Modified files: primpl.h, prfile.c, prio.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@88070 18797224-902f-48f8-a5cc-f745e15eee43
native socket functions on Solaris 8 for Intel/x86. r=larryh@netscape.com.
a=pdt. Thanks to dcran@us.ibm.com (Donnie Cranford) for the bug report.
Modified files: _solaris.h, primpl.h
git-svn-id: svn://10.0.0.236/trunk@71901 18797224-902f-48f8-a5cc-f745e15eee43
size of the stack pollfd structure array from 4 to 64. 2. Made the
malloc'ed pollfd structure array a thread private data.
Modified files: primpl.h, ptio.c, ptthread.c
git-svn-id: svn://10.0.0.236/trunk@71798 18797224-902f-48f8-a5cc-f745e15eee43
are not needed in the pthreads version. The /dev/zero file, if opened,
should have the close-on-exec flag so that it won't get inherited by
child processes.
Modified files: _unixos.h, primpl.h, prseg.c, unix.c
git-svn-id: svn://10.0.0.236/trunk@70877 18797224-902f-48f8-a5cc-f745e15eee43