jband@netscape.com
a96c256c0f
r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock
1999-11-15 22:15:27 +00:00
dmose@mozilla.org
20621227af
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
cls@seawood.org
e2bcf8e8df
For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
1999-09-15 22:00:12 +00:00
cls@seawood.org
e86e78abd8
Removed gcc 2.95+ ifdefs to trade one annoying warning for a less annoying one.
1999-09-12 12:03:20 +00:00
brendan@mozilla.org
fc3f1defd2
Pick nits.
1999-09-06 23:00:17 +00:00
brendan@mozilla.org
1aecf0815b
Deadlock detection hacks.
1999-09-06 19:28:56 +00:00
cls@seawood.org
85216089d5
Various fixes to let the tree compile with gcc 2.95:
...
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.
Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
toshok@hungry.com
94b8c9fd2c
squelch unused parameter warnings.
1999-07-07 04:17:45 +00:00
sspitzer@netscape.com
e99fd73c14
fix warnings
1999-06-26 04:17:58 +00:00
warren@netscape.com
e6ff27e96f
Added assertions.
1999-06-19 22:22:16 +00:00
warren@netscape.com
6d7c72c05c
Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
1999-06-16 04:15:08 +00:00
dp@netscape.com
6dc8a899c6
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
warren@netscape.com
aab391adfc
Added include for nsError.h to get nsresult.
1999-04-30 23:49:30 +00:00
warren@netscape.com
d33e49b0ae
Made Notify and Wait methods return nsresult.
1999-04-30 22:55:16 +00:00
warren@netscape.com
a47eee4b90
Added nsAutoMonitor
1999-04-22 04:12:08 +00:00
waterson@netscape.com
60ec5520aa
Fixed comments that were referring to monitors.
1999-02-04 23:20:30 +00:00
waterson@netscape.com
1323152a33
Added headers that nsAutoLock needs.
1999-02-04 00:39:49 +00:00
waterson@netscape.com
a66bf1cbe4
Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store.
1999-02-04 00:25:56 +00:00
waterson@netscape.com
ad7c8d58f4
Initial revision.
1999-02-03 22:44:14 +00:00