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

20 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com d626b5bd25 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 bzbarsky@mit.edu 2002-11-08 04:46:58 +00:00
dougt%netscape.com cb41e513ea Fixes bug 84489. Ensures that worker threads can not process the same reque
st at the same time. r-danm@netscape.com, sr-darin@netscape.com, a-clayton@n
etscape.com
2001-06-12 18:35:23 +00:00
jband%netscape.com c7a4242a1a 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 5158e1cb08 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
dougt%netscape.com ac9f11352d 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
mkaply%us.ibm.com 11949af38c # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
warren%netscape.com b63cd30bcf 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 c488fb37a7 backing out dougt's thread changes r=dougt 2000-03-06 01:13:20 +00:00
warren%netscape.com 7e37f4f478 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 ac56bd5fd8 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 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
valeski%netscape.com a05208badc 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 1fed8a8658 Taking out the damn nsCOMPtr for nsThreadPool for Mac! 1999-09-20 22:35:06 +00:00
warren%netscape.com 090b763079 fixed refcounting in nsThread so threads and runnables are freed 1999-09-20 20:54:23 +00:00
warren%netscape.com 0b7d06c326 Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
hshaw%netscape.com eae3dcdf4c include prcmon.h for nsThread.h, until unix defines NS_MT_SUPPORTED for nsISupports.h 1999-05-04 07:11:31 +00:00
warren%netscape.com c42f0d5d08 Fixed thread problems. 1999-04-13 18:15:27 +00:00
warren%netscape.com a89a6c1a63 Fixed thread pool shutdown. 1999-04-06 01:42:01 +00:00
warren%netscape.com ed17a5b85d Mostly works now, except for nsIThreadPool::Join 1999-04-05 21:02:24 +00:00
warren%netscape.com 8bf75dfb46 Added nsIThread and nsIThreadPool. 1999-04-02 09:20:44 +00:00