Commit Graph

18 Commits

Author SHA1 Message Date
Bobby Holley
59c4d9cf6c Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Bobby Holley
f7dd9fa7ef Bug 1184634 - Rename MediaTaskQueue to TaskQueue. r=gerald 2015-07-16 22:23:06 -07:00
JW Wang
03e5fe651c Bug 1172769 - add some handy methods. r=bholley. 2015-06-10 06:14:09 +08:00
Matt Woodrow
8c9dd911da Bug 857895 - Only enforce tail dispatch if both source and dest support it. r=bholley 2015-05-14 13:47:42 +12:00
Bobby Holley
7c9c11e4e7 Bug 1155268 - Add checked methods to convert from an AbstractThread to a concrete type. r=cpearce 2015-04-21 00:15:18 -07:00
Bobby Holley
37683d6104 Bug 1154805 - Remove unused AbstractThread::InTailDispatch. r=jww
This is unnecessary now that we pass this explicitly during dispatch.
2015-04-16 09:28:57 -07:00
Bobby Holley
09820383ff Bug 1154805 - Remove MaybeTailDispatch. r=jww
This is now the default behavior.
2015-04-16 09:28:56 -07:00
Bobby Holley
e6a9a60f0d Bug 1154805 - Do tail dispatch automatically. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
22820108d3 Bug 1154805 - Rejigger tail dispatching assertions. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley
23d07f80a1 Bug 1154805 - Hoist the GetCurrent TLS logic into AbstractThread. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley
775574adac Bug 1154782 - Remove the concept of forced dispatch. r=jww
I added this several months ago to make MediaPromise dispatch reliable in the
presence of the god-awful Flush() feature of MediaTaskQueue. That feature has
now been restricted to a special subclass (which we should eventually eliminate),
so we can just assert that MediaPromises are never used on those task queues
and simplify the rest of the code.
2015-04-15 22:26:57 -07:00
Bobby Holley
3aa1882d75 Bug 1154782 - Hoist dispatch failure handling into dispatch itself. r=jww
This is nicer than scattering the failure handling to each callsite. Moreover,
this is a necessary step on the road to automatic tail dispatch.
2015-04-15 22:26:23 -07:00
Bobby Holley
3d01f9c686 Bug 1154782 - Detemplatize nsIThread wrapper and move it into AbstractThread.cpp. r=jww 2015-04-15 22:26:23 -07:00
Bobby Holley
a4a17224a0 Bug 1153370 - Remove AbstractThread::Create. r=jww 2015-04-13 11:13:07 -07:00
Bobby Holley
2918630752 Bug 1151656 - Use TailDispatch for the MDSM's task queue. r=mattwoodrow 2015-04-08 21:33:21 -07:00
Bobby Holley
b5df0b86c9 Bug 1151656 - Do static initialization explicitly. r=mattwoodrow 2015-04-08 21:33:18 -07:00
Bobby Holley
c5e200bcb3 Bug 1150687 - Add a convenience/efficiently routine to get an AbstractThread for the main thread. r=jww 2015-04-06 11:09:26 -07:00
Bobby Holley
6e48198a60 Bug 1144487 - Implement AbstractThread. r=mattwoodrow 2015-03-18 08:25:55 -07:00