Eric Rahm
645b42df1f
Bug 1162242 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:35 -07:00
Nathan Froyd
ddbb44d13f
Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
...
The current name reads to me like a boolean variable, even though it's
actually a counter. Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Randall Barker
c236b48231
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
...
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Andrew McCreight
98776f80a0
Bug 1149807 - Remove some unused nsIProgrammingLanguage.h includes. r=froydnj
2015-04-02 14:54:46 -07:00
Atif Iqbal
ce96843aa0
Bug 1150197 - Remove useless null checks after allocating memory with new from xpcom/threads/; r=froydnj
2015-04-02 14:57:46 -04:00
Andrew McCreight
2f48802ae0
Bug 1147572 - Remove implementation language field from DOM class info. r=jst
2015-03-30 10:45:39 -07:00
Andrew McCreight
46dfeaba0b
Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley
2015-03-29 07:52:54 -07:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Chih-Kai (Patrick) Wang
fcb6d29268
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
Shih-Chiang Chien
7bdce1f5fc
Bug 1102439 - Clean up child-side PBackground before thread shutdown. r=khuey
...
--HG--
extra : transplant_source : %29r%7D%0CP%9F%D6%20%8B%A9%EA%EE%7D%AC%BB%80%1AB%D86
2014-11-20 14:16:36 -08:00
Ryan VanderMeulen
fb8d05cd59
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)
c0da861aa4
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
Nathan Froyd
970fc0e8a3
Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc
2014-11-14 13:12:51 -05:00
Bill McCloskey
2ab547d3ab
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
4985d0ee76
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
281cb8db91
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Ben Turner
d081140cb0
Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
2014-09-26 16:21:57 -07:00
David Major
0509508150
Bug 1007534 - Part 4: Save a memory report when close to OOM. r=bsmedberg
2014-08-30 17:21:22 +12:00
Birunthan Mohanathas
80ef08ccd8
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Bill McCloskey
024b67429e
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-08-05 21:43:36 -07:00
Ehsan Akhgari
3a6aef3468
Bug 1048280 - Fix more bad implicit constructors in XPCOM; r=froydnj
2014-08-05 09:36:59 -04:00
Bill McCloskey
8bcf32b6ed
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Bill McCloskey
d0e49be19d
Bug 1040726 - Urgent message assertion in ProcessNextEvent shouldn't fire off the main thread (r=bsmedberg)
2014-07-18 09:16:15 -07:00
Bill McCloskey
c87bbeeeda
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-07-17 21:09:45 -07:00
Birunthan Mohanathas
c9fb2c0d48
Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj
2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
67dad11bae
Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
...
--HG--
extra : rebase_source : 1f6f179f44db87f55ebfe5d855192adfad7d1b74
2014-05-27 10:15:35 +03:00
Kyle Huey
7af104c03a
Bug 996132: Make allocations in the event queue infallible. r=bsmedberg
2014-05-23 12:53:14 -07:00
Birunthan Mohanathas
5f1fde8824
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
Shelly Lin
6437f8163e
Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey.
2014-03-27 16:49:06 +08:00
Randell Jesup
3745474f9b
Bug 998880: don't busy-wait in nsThread waiting for shutdown or DISPATCH_SYNC r=bsmedberg
2014-04-22 15:34:24 -04:00
Aaron Klotz
025fed58f4
Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj
2014-04-08 22:57:52 -06:00
Ehsan Akhgari
186680d83a
Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg
2014-03-27 16:38:33 -04:00
Robert O'Callahan
3353c8efe1
Bug 955888. Part 3: In chaos mode, give threads randomly chosen priorities, and pin some threads to CPU 0 so they compete for CPU. r=bsmedberg
...
--HG--
extra : rebase_source : 77201ddade499250cbc81b6a582ce29a970c4a2a
2014-03-03 18:12:27 +13:00
Olli Pettay
e84a8e90a5
Backout Bug 953435 to fix bug 959281, a=backout
2014-02-02 20:12:27 +02:00
Robert O'Callahan
3f31a31974
Bug 966231. Add comment.
2014-02-01 14:14:00 +13:00
Robert O'Callahan
6c875adc9a
Bug 966231. Allow blocking in a nested event loop even if the thread is being shut down. r=bsmedberg
...
--HG--
extra : rebase_source : 45654f14cb9a47b285b8491304de71a762132ac8
2014-02-01 13:42:24 +13:00
Olli Pettay
5cdea8d914
Bug 953435 - Browser hang on Mac if an AfterProcessNextEvent callback tries to spin the event loop, r=nfroyd+smichaud
...
--HG--
extra : rebase_source : e999d852f5f73b18f37ff6a5488cc171c95d9e61
2014-01-09 00:10:06 +02:00
Ben Turner
3233aad341
Bug 939196 - Allow nsThread to have nested event queues, r=bsmedberg.
...
--HG--
extra : transplant_source : %DE%AF%BF%7E%94%5E%07%CDL%9C%01%28%9F6%8D%90%12%95%06s
2013-11-14 10:06:17 -08:00
Ben Turner
057f369312
Bug 939182 - Integrate the chromium MessageLoop into nsThread, r=bsmedberg.
...
--HG--
extra : transplant_source : %82%D3%C5%E1%A4%E5%00%1C%C3%82%97v%7F%BA%20Ja%AA%C7%E5
2013-10-23 05:01:24 -07:00
Ben Turner
4d2b15f34c
Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
...
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Benjamin Smedberg
8fd1bc7f20
Bug 672843 part C - convert most of XPCOM except for xpcom/tests, r=vdjeric
2013-11-19 16:27:37 -05:00
Ehsan Akhgari
e19377c4a9
Bug 936912 - Build xpcom in unified mode; r=froydnj
2013-11-18 21:34:00 -05:00
Trevor Saunders
7d09aa8e5c
bug 931792 - only init sCanaryOutputFD once r=bsmedberg
2013-10-29 16:58:09 -04:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
1a6dffc73f
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
...
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Nicolas B. Pierron
5cb1226f59
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-09 13:47:15 -07:00
Ryan VanderMeulen
4e41e3d6e7
Backed out changeset 1c6223f7c74f (bug 876029) for Android armv6 mochitest-1/3 crahes.
2013-07-07 21:18:36 -04:00
Nicolas B. Pierron
912277b213
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-07 16:02:58 -07:00
Arnaud Sourioux
e9eb4eff0a
Bug 744115 - Disallow dispatching events after threads shut down. r=bsmedberg
2013-07-07 16:23:43 -04:00
Trevor Saunders
0dc1f9fb7f
bug 877850 - fix static constructors in xpcom/ r=jlebar
2013-05-30 17:20:02 -04:00
Chris Peterson
92aba9cc73
Bug 839962 - Part 2: Replace some XPCOM thread NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 21:54:20 -08:00
Nathan Froyd
4c61ef9ec5
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Olli Pettay
c370341643
Bug 780770, nsThread::SetMainThreadObserver, r=bz+bholley
2012-10-24 01:26:36 +03:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Ehsan Akhgari
e368dc9c85
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
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
60b5d7f292
Back out c209fea124e1 (bug 754198) because of Win64 build failure
2012-05-11 13:23:49 -07:00
Fabrice Desré
5397f4846a
Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg]
2012-05-11 12:34:24 -07:00
Benjamin Smedberg
d14fc6c435
Bug 719154, remove the implementation of chained and filtered event queues now that they are no longer needed, r=jlebar
...
--HG--
extra : rebase_source : 54e3f130dfaf59e67974019e39bf85471b22b4bf
2012-03-23 14:45:41 -04:00
Bobby Holley
afe65920bd
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
30d8ae4049
Bug 717498 - Clear nsThread::mEventObservers at thread shutdown. r=bsmedberg
2012-01-14 10:31:13 -08:00
Ms2ger
1015d69823
No bug - Remove stray semicolon in nsThread.cpp; rs=bsmedberg
2011-12-18 11:13:56 +01:00
Justin Lebar
bb1480e722
Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
...
--HG--
extra : rebase_source : d1d8b245aa3b86ae434b0b2694d8781f25ad0683
2011-08-05 18:10:50 -04:00
Benjamin Smedberg
da0a1b5773
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
...
--HG--
extra : rebase_source : 338bad7e999d5a3c928a7b24965461fc0ff06a19
2011-10-12 13:52:26 -04:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Chris Pearce
9fe588f07c
Bug 664341 - Provide API to specify thread stack size. r=bsmedberg
2011-07-27 15:26:47 +12:00
Ben Turner
257389646e
Bug 665579: Merge nsIThreadInternal and nsIThreadInternal2. r=bsmedberg
2011-06-24 14:12:54 -07:00
Chris Jones
31aa2c4e77
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Matheus Kerschbaum
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
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
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
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
db6289bc0a
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
timeless@mozdev.org
077eb0bfb4
Bug 607944 Canary fails to build with --disable-libxul (missing symbol XRE_GetProcessType)
...
r=cjones a=bsmedberg
2011-01-05 14:11:56 -08:00
Ben Turner
72ea70e7b6
Bug 612807 - 'IndexedDB: Transaction thread observer isn't quite safe'. r=jst, a=blocking+.
2010-11-18 14:19:19 -08:00
Benjamin Smedberg
ec247769d5
Bug 610381 part A - Propagate errors thrown during synchronous dispatch of nsIRunnables, r=bz
...
--HG--
extra : rebase_source : e445ee4db34c68fd9f9c8844f62d879708733eff
2010-11-17 15:58:48 -05:00
Ben Turner
488481b966
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
Brad Lassey
04b1298636
bug 601268 - Add canary-in-the-mine instrumentation to detect when the browser process spends too long outside its main-thread event loop(s) r=cjones a=beltzner
2010-10-27 11:16:03 -04:00
Ehsan Akhgari
db9d404619
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
ben turner
abb2a26ac0
Bug 498010 - Threads should release their observers when they are shut down; r=benjamin
2009-06-22 15:08:04 +02:00
Boris Zbarsky
dbd6d652d5
Bug 497028. Make sure to have mRunningEvent still incremented when we call the runnable's destructor, since that can also do work. r=bsmedberg
2009-06-11 13:09:35 -04:00
roc+@cs.cmu.edu
16fb24b0d4
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
bzbarsky@mit.edu
611a83d517
Try to fix orange: sGlobalObserver can get set during event processing, not
...
just unset. Bug 326777
2007-07-10 20:01:56 -07:00
bzbarsky@mit.edu
3b90c5c518
Relanding bug 326777, r=bsmedberg, sr=jst
2007-07-10 17:57:17 -07:00
bzbarsky@mit.edu
b35a654a6e
Backing out to fix red
2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
30e205dddb
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
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
bzbarsky%mit.edu
236305bd4c
Fix leak when using XPCOM proxies. Bug 371374, patch by Bas Schouten
...
<bas.schouten@joost.com>, r=bsmedberg, sr=bzbarsky
2007-02-23 17:38:45 +00:00
timeless%mozdev.org
a8b8af80f9
Bug 353280 nsThread::PushEventQueue leaks queue if !queue->IsInitialized (nsEventQueue::nsEventQueue() : mMonitor(nsAutoMonitor::NewMonitor("xpcom.eventqueue")) fails)
...
patch by darin r=timeless
2006-10-16 08:02:37 +00:00
mark%moxienet.com
a6b04ae8c0
340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner
2006-06-07 00:06:11 +00:00
darin%meer.net
12f9fa579b
fix AIX bustage
2006-05-10 18:13:20 +00:00
darin%meer.net
0318b8c707
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
timeless%mozdev.org
a360ba5dbe
Bug 310487 thread leak
...
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
timeless%mozdev.org
cba483b7cf
Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
...
r=darin sr=darin
2005-09-14 18:18:43 +00:00
timeless%mozdev.org
093b867173
Bug 296506 [@ nsThread::Main]
...
change Init to handle alloc failures and refuse multiple concurrent runs of a thread instance
r=dougt a=asa
2005-06-08 07:33:39 +00:00
bsmedberg%covad.net
9815f3c616
bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt
2004-08-28 20:11:15 +00:00
timeless%mozdev.org
5dccbf31f6
Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
...
patch by cst@andrew.cmu.edu r=dougt
2004-08-26 12:31:56 +00:00
darin%meer.net
4bc648307b
fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc
2004-05-11 18:33:32 +00:00
bsmedberg%covad.net
fbe50a0568
Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819
2004-05-11 09:38:50 +00:00
gerv%gerv.net
31625ba2b1
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
darin%meer.net
77642ae698
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
b9083989bb
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
bzbarsky%mit.edu
8632dcd97b
Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf
2002-11-09 17:43:33 +00:00
dougt%netscape.com
bffa9d4af1
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
68faeb5241
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
2002-09-07 17:13:19 +00:00
timeless%mac.com
9b478a4f58
Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
...
r=bz sr=darin
2002-09-04 06:45:10 +00:00
timeless%mac.com
43e442ad09
Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
...
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
bbaetz%student.usyd.edu.au
c1b134e11b
Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
...
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
bryner%netscape.com
90a2f7dfb7
Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag.
2002-07-08 07:56:50 +00:00
seawood%netscape.com
03ace271f0
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dougt%netscape.com
913bbb6f6c
Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
2002-06-11 19:26:04 +00:00
dougt%netscape.com
28495a117d
initalizes member variables in thread poll. 141479. r=dp, sr=darin
2002-05-10 20:48:45 +00:00
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