Ehsan Akhgari
6c1914b71f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
49e4bfa027
Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
2012-03-23 14:45:41 -04:00
Bobby Holley
820ddc3909
Bug 716167 - Only push null contexts in XPConnect for main thread events, and remove infrastructure from bug 326777. r=bz
2012-01-14 10:31:16 -08:00
Bobby Holley
d842b78701
Bug 717498 - Clear nsThread::mEventObservers at thread shutdown. r=bsmedberg
2012-01-14 10:31:13 -08:00
Justin Lebar
01e313044d
Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
2011-08-05 18:10:50 -04:00
Benjamin Smedberg
f509b45b8f
Bug 429592 - Add a monitor thread for process hangs and crash by default if a chrome process doesn't end up back in the event loop for more than 30 seconds. By default this affects non-debug builds only. r=cjones/bent
2011-10-12 13:52:26 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Chris Pearce
93df126906
Bug 664341 - Provide API to specify thread stack size. r=bsmedberg
2011-07-27 15:26:47 +12:00
Ben Turner
96d77745ce
Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg
2011-06-24 14:12:54 -07:00
Chris Jones
9ae6458637
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
ecb9597975
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ben Turner
c50f4cd402
Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+.
2010-11-18 14:19:19 -08:00
Benjamin Smedberg
7427b40ef3
Bug 610381 part A - Propagate errors thrown during synchronous dispatch of nsIRunnables, r=bz
2010-11-17 15:58:48 -05:00
Ben Turner
24756df037
Bug 608186 - 'IndexedDB: Transactions should expire when we return to the event loop'. r=sicking, a=blocking+
2010-11-15 13:49:49 -08:00
Arpad Borsos
1b55360c07
Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
2008-10-10 17:04:34 +02:00
e20dbed133
Bug 404870. Don't allow nsThread::PutEvent to succeed when the thread is no longer able to process the event. This stops us leaking the event and anything hanging off it. r+sr=bsmedberg
2007-12-04 18:17:15 -08:00
a9f6c49183
Relanding bug 326777, r=bsmedberg, sr=jst
2007-07-10 17:57:17 -07:00
92821b8f73
Backing out to fix red
2007-07-09 21:07:45 -07:00
161eadd513
Make sure that we push a null JSContext on the current thread's XPConnect stack
...
before processing events. Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
darin@meer.net
0700b87ece
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
gerv@gerv.net
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
bryner@brianryner.com
3736b6e206
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
2004-01-15 06:14:18 +00:00
darin@meer.net
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
dougt@netscape.com
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 bzbarsky@mit.edu
2002-11-08 04:46:58 +00:00
dougt@netscape.com
7b5b5870fe
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
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
danm@netscape.com
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
dougt@netscape.com
9bc9238736
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
25cfcb8e6a
# 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
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
pavlov@netscape.com
8370ef0af4
backing out dougt's thread changes r=dougt
2000-03-06 01:13:20 +00:00
warren@netscape.com
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
dougt@netscape.com
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
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
valeski@netscape.com
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
warren@netscape.com
67dd151e82
Taking out the damn nsCOMPtr for nsThreadPool for Mac!
1999-09-20 22:35:06 +00:00
warren@netscape.com
208a3e62d0
fixed refcounting in nsThread so threads and runnables are freed
1999-09-20 20:54:23 +00:00
warren@netscape.com
ac2b52462a
Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
1999-09-15 09:49:18 +00:00
hshaw@netscape.com
e2c082395e
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
0beb2ccb15
Fixed thread problems.
1999-04-13 18:15:27 +00:00
warren@netscape.com
6093e582a7
Fixed thread pool shutdown.
1999-04-06 01:42:01 +00:00
warren@netscape.com
8c0e27fce5
Mostly works now, except for nsIThreadPool::Join
1999-04-05 21:02:24 +00:00
warren@netscape.com
fcd82f5d9a
Added nsIThread and nsIThreadPool.
1999-04-02 09:20:44 +00:00