edburns%acm.org
c692199dd2
bug 59526
...
sr=waterson
r=valeski
This bullet-proofs the code so the one thread does not exit twice.
git-svn-id: svn://10.0.0.236/trunk@82513 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:49:57 +00:00
dougt%netscape.com
437cd3b772
Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750
...
git-svn-id: svn://10.0.0.236/trunk@80199 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:35:03 +00:00
warren%netscape.com
8f28511cda
Fixed optimized build problem.
...
git-svn-id: svn://10.0.0.236/trunk@66662 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:32:59 +00:00
warren%netscape.com
e42631defd
Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.)
...
git-svn-id: svn://10.0.0.236/trunk@66658 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:12:57 +00:00
pavlov%netscape.com
d9b37b0e5f
backing out dougt's thread changes r=dougt
...
git-svn-id: svn://10.0.0.236/trunk@62257 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 01:13:20 +00:00
warren%netscape.com
d100457780
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
dougt%netscape.com
20d9d73374
Adding dynamic thread allocation to thread pool. Fixes 27736.
...
Also fixing warning in plevent.c
r=damn, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@62241 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:01:33 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
warren%netscape.com
49e47e3066
Fixed build warnings.
...
git-svn-id: svn://10.0.0.236/trunk@49969 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:51:48 +00:00
valeski%netscape.com
780e7132fd
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.
...
git-svn-id: svn://10.0.0.236/trunk@49617 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 23:30:06 +00:00
warren%netscape.com
2bdfab8723
Taking out the damn nsCOMPtr for nsThreadPool for Mac!
...
git-svn-id: svn://10.0.0.236/trunk@48420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 22:35:06 +00:00
warren%netscape.com
4a15ebde22
fixed refcounting in nsThread so threads and runnables are freed
...
git-svn-id: svn://10.0.0.236/trunk@48375 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:54:23 +00:00
scc%netscape.com
56d5ad0b43
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
...
git-svn-id: svn://10.0.0.236/trunk@44139 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 10:14:16 +00:00
warren%netscape.com
34a55c9d19
Added more logging code.
...
git-svn-id: svn://10.0.0.236/trunk@43179 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 08:13:07 +00:00
warren%netscape.com
5b627064e6
Added missing release.
...
git-svn-id: svn://10.0.0.236/trunk@35937 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 22:22:38 +00:00
dveditz%netscape.com
8b1ee7529d
proxy can now find main thread
...
git-svn-id: svn://10.0.0.236/trunk@35630 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:26:37 +00:00
warren%netscape.com
07f8f36a84
Added PR_LOG stuff.
...
git-svn-id: svn://10.0.0.236/trunk@35355 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:57:07 +00:00
danm%netscape.com
fb18842156
moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren
...
git-svn-id: svn://10.0.0.236/trunk@35060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:30:38 +00:00
alecf%netscape.com
3e1c511db7
stop using [] operator on nsISupportsArray - going away for scriptability.
...
git-svn-id: svn://10.0.0.236/trunk@33366 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:07:54 +00:00
dp%netscape.com
befa259a88
Landing xpcom20/21 branch.
...
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
warren%netscape.com
fe7d7e2e69
Fixed nsICollection (and Count in particular) to be xpidl friendly.
...
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
waterson%netscape.com
78230e652c
Backed out change to nsISupportsArray::AppendElement() and RemoveElement(); they now return PRBool's like they used to.
...
git-svn-id: svn://10.0.0.236/trunk@27474 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 23:06:22 +00:00
warren%netscape.com
9b90ba668c
Fixed thread problems.
...
git-svn-id: svn://10.0.0.236/trunk@27336 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:15:27 +00:00
warren%netscape.com
89cf6d5006
Added GetIThread method
...
git-svn-id: svn://10.0.0.236/trunk@26456 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 06:09:15 +00:00
warren%netscape.com
1b9facf252
Fixed refcount problems.
...
git-svn-id: svn://10.0.0.236/trunk@26446 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:57:44 +00:00
warren%netscape.com
a823e367c4
Fixed thread pool shutdown.
...
git-svn-id: svn://10.0.0.236/trunk@26402 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:42:01 +00:00
warren%netscape.com
39d6bda2fa
Mostly works now, except for nsIThreadPool::Join
...
git-svn-id: svn://10.0.0.236/trunk@26323 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 21:02:24 +00:00
warren%netscape.com
2fde0b1900
Added nsIThread and nsIThreadPool.
...
git-svn-id: svn://10.0.0.236/trunk@26037 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 09:20:44 +00:00