Граф коммитов

40 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com e24b13a938 Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397 2001-11-30 00:06:32 +00:00
pavlov%netscape.com 594f5ea963 fixing bug 107106 r=valeski sr=jst 2001-11-01 00:05:19 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dougt%netscape.com 330156b06e fixes bug 84489. ensures that workthreads never process the same request at the same time. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com. 2001-06-12 18:32:26 +00:00
kandrot%netscape.com ebed782046 bug #77233, r=waterson, sr=brendan Changed a delete to a free for a malloced ptr 2001-05-15 05:55:15 +00:00
cls%seawood.org 6f256984a9 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
dougt%netscape.com a1d0305b36 Fixes a problem where hreadpool optimistically kills worker threads. r=darin@netscape.com, sr=waterson@netscape.com, b=76198 2001-04-26 05:30:26 +00:00
danm%netscape.com 84daaa9b30 delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan 2000-12-11 21:55:47 +00:00
jband%netscape.com b27fc45e0b fix warnings from fix to bug 61369 2000-12-06 19:40:56 +00:00
jband%netscape.com fe62695f13 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
danm%netscape.com 06a281a74b 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
disttsc%bart.nl a8a18302a4 Checking in the correct patch for bug 59526. 2000-11-10 01:30:07 +00:00
edburns%acm.org b1aacc0ff8 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
dougt%netscape.com 25f36f554d Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750 2000-10-01 05:35:03 +00:00
warren%netscape.com e92a3a917a Fixed optimized build problem. 2000-04-21 05:32:59 +00:00
warren%netscape.com 5e96caa8ea 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
pavlov%netscape.com bfd20afd4c backing out dougt's thread changes r=dougt 2000-03-06 01:13:20 +00:00
warren%netscape.com c0497e31be 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
dougt%netscape.com c673d88d87 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
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
warren%netscape.com 1df0904cc1 Fixed build warnings. 1999-10-06 08:51:48 +00:00
valeski%netscape.com d66cd6ac49 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
warren%netscape.com 0f38c8859b Taking out the damn nsCOMPtr for nsThreadPool for Mac! 1999-09-20 22:35:06 +00:00
warren%netscape.com 68777de60f fixed refcounting in nsThread so threads and runnables are freed 1999-09-20 20:54:23 +00:00
scc%netscape.com 68340a37ef 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
warren%netscape.com 02dc3a6a93 Added more logging code. 1999-08-11 08:13:07 +00:00
warren%netscape.com 81aa368a6f Added missing release. 1999-06-19 22:22:38 +00:00
dveditz%netscape.com fc6f0e281e proxy can now find main thread 1999-06-16 03:26:37 +00:00
warren%netscape.com d1a7f6e578 Added PR_LOG stuff. 1999-06-15 04:57:07 +00:00
danm%netscape.com 9bf4058960 moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren 1999-06-13 03:30:38 +00:00
alecf%netscape.com 52492a749f stop using [] operator on nsISupportsArray - going away for scriptability. 1999-06-02 00:07:54 +00:00
dp%netscape.com 94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
warren%netscape.com 87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
waterson%netscape.com cb7e7a95c4 Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to. 1999-04-14 23:06:22 +00:00
warren%netscape.com f63b0306a1 Fixed thread problems. 1999-04-13 18:15:27 +00:00
warren%netscape.com 3710889772 Added GetIThread method 1999-04-06 06:09:15 +00:00
warren%netscape.com a9edb098e8 Fixed refcount problems. 1999-04-06 04:57:44 +00:00
warren%netscape.com bf4df879ef Fixed thread pool shutdown. 1999-04-06 01:42:01 +00:00
warren%netscape.com 338082238a Mostly works now, except for nsIThreadPool::Join 1999-04-05 21:02:24 +00:00
warren%netscape.com 9ee65b1f03 Added nsIThread and nsIThreadPool. 1999-04-02 09:20:44 +00:00