Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
JW Wang b5cfdf9448 Bug 1172769 - add some handy methods. r=bholley. 2015-06-10 06:14:09 +08:00
Matt Woodrow 924056f5e8 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 32fb7c6df8 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 698e3f4e09 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 1590c33115 Bug 1154805 - Remove MaybeTailDispatch. r=jww
This is now the default behavior.
2015-04-16 09:28:56 -07:00
Bobby Holley 3c7d850355 Bug 1154805 - Do tail dispatch automatically. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley 4b2b5d54a0 Bug 1154805 - Rejigger tail dispatching assertions. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley 49eb65cfec Bug 1154805 - Hoist the GetCurrent TLS logic into AbstractThread. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley b4d1c00c0c 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 d9894d631d 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 9451263fde Bug 1154782 - Detemplatize nsIThread wrapper and move it into AbstractThread.cpp. r=jww 2015-04-15 22:26:23 -07:00
Bobby Holley 4fb3e448a1 Bug 1153370 - Remove AbstractThread::Create. r=jww 2015-04-13 11:13:07 -07:00
Bobby Holley 72ad334118 Bug 1151656 - Use TailDispatch for the MDSM's task queue. r=mattwoodrow 2015-04-08 21:33:21 -07:00
Bobby Holley 1571be1aab Bug 1151656 - Do static initialization explicitly. r=mattwoodrow 2015-04-08 21:33:18 -07:00
Bobby Holley e28ae4c2f7 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 c64dbd1ed9 Bug 1144487 - Implement AbstractThread. r=mattwoodrow 2015-03-18 08:25:55 -07:00