Commit Graph
57 Commits
Author SHA1 Message Date
[email protected] 4567b1aa1c bug 257188 - check initialization of nsThread patch by CTho <[email protected]> r=dougt 2004-08-28 20:11:15 +00:00
[email protected] d5e132cd67 Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
patch by [email protected] r=dougt
2004-08-26 12:31:56 +00:00
[email protected] c38ff311bd fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc 2004-05-11 18:33:32 +00:00
[email protected] fa0bafa496 Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819 2004-05-11 09:38:50 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] a49e0e55cd fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
[email protected] 8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
[email protected] 60597a3a32 Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf 2002-11-09 17:43:33 +00:00
[email protected] 468edb4f54 175932. UMR: PostTimerEvent() does not check return value from GetPRThread(). Thanks to Andrew Schultz for pointing this out. r=pavlov, sr=darin. Also includes 175440 - using nsCOMArray in nsThreadPool, patch by [email protected] 2002-11-08 04:46:58 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] ffc1c67b30 Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
r=bz sr=darin
2002-09-04 06:45:10 +00:00
[email protected] a176bd1a37 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by [email protected] r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
[email protected] 6c8bbd1aa5 Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
[email protected] 94410e9bc5 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
[email protected] 0ae28f14fb Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
[email protected] 7817342e94 Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, [email protected] 2002-06-11 19:26:04 +00:00
[email protected] bf4536bed6 initalizes member variables in thread poll. 141479. r=dp, sr=darin 2002-05-10 20:48:45 +00:00
[email protected] 1747cc2853 Add IsMainThread to nsIThread. [email protected], [email protected] 112397 2001-11-30 00:06:32 +00:00
[email protected] 3df707fe8a fixing bug 107106 r=valeski sr=jst 2001-11-01 00:05:19 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] 75ef6d3ec3 fixes bug 84489. ensures that workthreads never process the same request at the same time. [email protected], [email protected], [email protected]. 2001-06-12 18:32:26 +00:00
[email protected] 9980de571f bug #77233, r=waterson, sr=brendan Changed a delete to a free for a malloced ptr 2001-05-15 05:55:15 +00:00
[email protected] 22bce73f82 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
[email protected] 506cb4b53d Fixes a problem where hreadpool optimistically kills worker threads. [email protected], [email protected], b=76198 2001-04-26 05:30:26 +00:00
[email protected] a999726dd8 delete thread log in main thread dtor. bug 54303 [email protected] r=me,dougt,brendan 2000-12-11 21:55:47 +00:00
[email protected] d77e7b901c fix warnings from fix to bug 61369 2000-12-06 19:40:56 +00:00
[email protected] 9bd4c0477d fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson 2000-11-30 05:24:53 +00:00
[email protected] b43cf5dd37 ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari 2000-11-28 22:38:02 +00:00
[email protected] 13d1f46a3f Checking in the correct patch for bug 59526. 2000-11-10 01:30:07 +00:00
[email protected] f29e44699c bug 59526
sr=waterson
r=valeski

This bullet-proofs the code so the one thread does not exit twice.
2000-11-09 23:49:57 +00:00
[email protected] 9bc9238736 Fixes threadpool to maximize thread usage [email protected], [email protected], [email protected], [email protected] b=36750 2000-10-01 05:35:03 +00:00
[email protected] 5bf61e19ca Fixed optimized build problem. 2000-04-21 05:32:59 +00:00
[email protected] 7724b84052 Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.) 2000-04-21 05:12:57 +00:00
[email protected] 8370ef0af4 backing out dougt's thread changes r=dougt 2000-03-06 01:13:20 +00:00
[email protected] 90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
[email protected] 4f981d9c46 Adding dynamic thread allocation to thread pool. Fixes 27736.
Also fixing warning in plevent.c

r=damn, a=chofmann
2000-03-05 21:01:33 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] e992bda0c5 Fixed build warnings. 1999-10-06 08:51:48 +00:00
[email protected] 9bb7270765 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
[email protected] 67dd151e82 Taking out the damn nsCOMPtr for nsThreadPool for Mac! 1999-09-20 22:35:06 +00:00
[email protected] 208a3e62d0 fixed refcounting in nsThread so threads and runnables are freed 1999-09-20 20:54:23 +00:00
[email protected] 6f62a47cac got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
[email protected] 18626370d2 Added more logging code. 1999-08-11 08:13:07 +00:00
[email protected] a4a05373b2 Added missing release. 1999-06-19 22:22:38 +00:00
[email protected] f810f9b9f3 proxy can now find main thread 1999-06-16 03:26:37 +00:00
[email protected] 51909bc13b Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
[email protected] 68c63c0deb moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren 1999-06-13 03:30:38 +00:00
[email protected] f7ff17dc2e stop using [] operator on nsISupportsArray - going away for scriptability. 1999-06-02 00:07:54 +00:00
[email protected] 6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
[email protected] 7b44baf2c0 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00