Kyle Huey
b8b25584fa
Bug 1185470: Remove 'Get' prefixes from hashtable iterator methods. r=froydnj
2015-07-20 20:21:28 +08:00
Nicholas Nethercote
021bd9f690
Bug 1181445 (part 12) - Use nsBaseHashTable::Iterator in xpcom/threads/. r=froydnj.
2015-07-09 16:54:59 -07:00
Cervantes Yu
f244086223
Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
2015-05-19 14:31:25 +08:00
Cervantes Yu
692694318a
Backout change b371db089894 (bug 1138620) due to backout of bug 970307.
2015-05-19 11:26:24 +08:00
Carsten "Tomcat" Book
67ef3a51c6
Backed out changeset daa19810f688 (bug 1138620)
2015-05-19 11:44:37 +02:00
Carsten "Tomcat" Book
35c8f985c6
Backed out changeset 4d2839eea957 (bug 970307)
2015-05-19 11:44:27 +02:00
Cervantes Yu
f56cb02c7d
Backout change 39e167bbd14c, a80140872ea5, adae9be2294d and b71ccef9c674 (bug 970307).
2015-05-19 14:31:25 +08:00
Cervantes Yu
d97fa23683
Backout change b371db089894 (bug 1138620) due to backout of bug 970307.
2015-05-19 14:31:20 +08:00
Chih-Kai (Patrick) Wang
058dfb16dd
Bug 1138620: Allow external binary modules to ignore thread status monitoring for Nuwa process stabilization. r=nfroyd
2015-04-24 14:11:10 +08:00
Randell Jesup
c978ff4431
Bug 988698: Ensure threads can't be started during nsThreadManager::Shutdown() r=nfroyd
2015-03-23 16:49:09 -04:00
Mike Hommey
5106483a63
Bug 1139361 - Remove gTLSThreadID*, NS_TLS and mozilla::threads::ID. r=nfroyd
2015-03-10 11:10:58 +09:00
Chih-Kai (Patrick) Wang
67d4ec2066
Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd
2014-12-18 17:00:39 +08:00
Ryan VanderMeulen
59b00f5e6f
Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes.
2014-11-24 17:18:27 -05:00
Patrick Wang (Chih-Kai Wang)
9e5e0761e3
Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd
2014-11-24 15:21:52 +08:00
Benoit Jacob
74fee105cf
Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg
2014-07-04 06:34:15 -04:00
Ryan VanderMeulen
094b628a0f
Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
...
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
00469e4ac1
Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg
2014-07-03 14:53:24 -04:00
Birunthan Mohanathas
8a4a4c8465
Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj
2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
a108f37fc2
Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
2014-05-27 10:15:35 +03:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ehsan Akhgari
7ce1aa5eb8
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Blake Kaplan
263fdb5491
Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg
2014-01-31 15:02:30 -08:00
Benjamin Smedberg
29d63f056d
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Trevor Saunders
1600570bae
bug 931792 - only init sCanaryOutputFD once r=bsmedberg
2013-10-29 16:58:09 -04:00
Birunthan Mohanathas
9c97f8fe32
Bug 784739 - Switch from NULL to nullptr in xpcom/ (3/3); r=ehsan
2013-10-10 16:42:16 -04:00
Robert O'Callahan
51222bdd45
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
2013-09-02 20:41:57 +12:00
Kyle Huey
cad78dd5fa
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Trevor Saunders
1b9382cbdc
bug 877850 - fix static constructors in xpcom/ r=jlebar
2013-05-30 17:20:02 -04:00
David Rajchenbach-Teller
203753a57e
Bug 724368 - Expose the maximum number of threads. r=dougt
2013-04-19 07:54:18 -04:00
Chris Peterson
6031ca870d
Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 21:54:20 -08:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
2012-05-18 13:30:49 -04:00
Hessam Salehi
a64cc02b3f
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Bobby Holley
d842b78701
Bug 717498 - Clear nsThread::mEventObservers at thread shutdown. r=bsmedberg
2012-01-14 10:31:13 -08: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
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -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
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
L. David Baron
7f8b96762f
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Ben Turner
36503991ce
Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst
2010-11-11 14:52:30 -08:00
Ben Turner
cb761ee3fb
Bug 609501 - Change nsIThreadManager for bug 580096. r=jst
2010-11-03 18:41:06 -07:00
Benjamin Smedberg
1c7ea743d8
Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly.
2010-06-22 12:59:57 -04:00
Benjamin Smedberg
0e824d90bb
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Benjamin Smedberg
aeab3a15f2
Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron
2009-11-09 14:30:01 -05:00
Benjamin Smedberg
1823ed419e
Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron
2009-10-28 10:28:57 -07:00