xpcom/threads/MozPromise.h
c9fd6a30931c6bc2ffb21c93beed31957e4b4eb7
created 2017-06-09 11:45 -0700
pushed 2017-09-14 16:50 +0000
Bill McCloskey Bill McCloskey - Bug 1366072 - Change promises to take nsISerialEventTarget instead of AbstractThread (r=jwwang)
c012fb80a72b242706e95980a5450e18dfa0fb8c
created 2017-06-08 14:27 -0700
pushed 2017-09-14 16:50 +0000
Bill McCloskey Bill McCloskey - Bug 1366072 - Remove useless ThenCommand::mResponseThread field (r=jwwang)
79a937693943a5eefc70ccd5034cff3bb4cdac16
created 2017-06-26 20:13 -0400
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1371982 - Use a RefPtr<> to hold the MozPromise. r=gerald, a=jcristau
fab1fc13a6496b0b20cd6a5b4ccebe9e8bfebfc9
created 2017-06-12 11:19 +1200
pushed 2017-07-31 14:08 +0000
Gerald Squelart Gerald Squelart - Bug 1371880 - Use Variant with indexed access in MozPromise::ResolveOrRejectValue - r=jwwang
4d5d122b04ea7867ecf84c4a354c3bd43c5a6c91
created 2017-06-06 14:19 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1370453 - fix potential race condition in ThenCommand<>::Track(). r=gerald
25b41cf47c195a06edce86fa8e8e421707046c2f
created 2017-06-05 23:43 +0200
pushed 2017-07-31 14:08 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1370369 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines - follow up patch r=froydnj
470e0ad1615801291ed95970e20f274b4eeddeb8
created 2017-06-02 10:16 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P4 - specialize the type of mCompletionPromise according to whether chaining is supported. r=gerald
76c8629e6fa1e12e9cfc82cb6ad77d34b9cc40eb
created 2017-05-31 17:28 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P3 - pass mCompletionPromise to InvokeCallbackMethod(). r=gerald
e9ec33eda9087943a17a608287c4c4b2fa92ff26
created 2017-05-31 17:08 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P2 - overload InvokeCallbackMethod() according to whether promise-chaining is supported. r=gerald
715ef330d2d49ea52e292efbd856de61de7d73b5
created 2017-05-26 00:12 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P1 - refactor InvokeCallbackMethod() to deal with one concern at a time. r=gerald
02b76f664ebba4cde6d94646b2a7dda9c98a9831
created 2017-06-05 14:03 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1370005. P1 - backout bug 1367679. r=gerald
499cb7e486c0de47b2cdca7a6116045ca3a069c7
created 2017-06-02 10:16 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P4 - specialize the type of mCompletionPromise according to whether chaining is supported. r=gerald
3297397ead64b04a1c92cb38cd367fa20b8e68ff
created 2017-05-31 17:28 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P3 - pass mCompletionPromise to InvokeCallbackMethod(). r=gerald
fcc064923628236b2732ba50d5227e47357c0279
created 2017-05-31 17:08 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P2 - overload InvokeCallbackMethod() according to whether promise-chaining is supported. r=gerald
324ef6c1803078225fba97edf9ca56ae18e146d4
created 2017-05-26 00:12 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367679. P1 - refactor InvokeCallbackMethod() to deal with one concern at a time. r=gerald
d96110d766199d42524558fd83e6467906de4daf
created 2017-05-25 17:35 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1368382. P4 - move mCompletionPromise down the class hierarchy so it can store a different promise type. r=gerald
aa971939802838b324623e709034c09346006c21
created 2017-05-31 16:10 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1368382. P3 - remove 2 overloads of Then() using variadic template. r=gerald
a6df0f5e3000f7992c9cf4e0161887a8f465a906
created 2017-05-31 15:23 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1368382. P2 - let ThenCommand reference the sub-type of ThenValueBase. r=gerald
f143a22591fa3f095c2b01c63937417f46826eff
created 2017-05-31 07:44 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1368382. P1 - rename and make MethodThenValue/FunctionValue specializations of ThenValue<>. r=gerald
02d43f8e8686d0b754f15e1b409366c0378ad591
created 2017-05-25 15:42 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367674. P2 - remove unused code. r=gerald
6dea98f4fbc27f19c3ab909bf9976b566236df1e
created 2017-05-25 15:41 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1367674. P1 - add templates to deal with CV and argument number correctly. r=gerald
3f656e09389019507d547e2d8fa39de7baa248fd
created 2017-05-24 13:46 -0400
pushed 2017-07-31 14:08 +0000
Kan-Ru Chen Kan-Ru Chen - Bug 1365827 - Make MozPromise::Private::{Resolve,Reject} no-op when it's not pending. r=jwwang
b3e212b01bec34c594302287de35095a2b32870b
created 2017-05-11 01:30 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1362910. P1 - enable move when IsExclusive is true. r=gerald
5fb3ab3d4ce8cb62dd1439102dca2dffc4ebdf89
created 2017-05-09 18:24 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1363676. P1 - use Variant as the internal storage of ResolveOrRejectValue. r=gerald
54b325c535a7193276cec80870ba10b99b764bd9
created 2017-05-09 23:11 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1362912. P1 - disallow promise chaining when any of the Then callbacks doesn't return a promise. r=gerald
3a94004edb22ee91086ce3ff14dd16a389da8f2e
created 2017-05-03 12:34 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1361942 - Store ActualArgTypes instead of ArgTypes for we are sending data of ActualArgTypes types to another thread. r=gerald
bdc6c6d8065319c8089f7f60c0b72942dea218a4
created 2017-04-30 15:37 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1361263 - allow InvokeAsync() to accept a member function which is pass-by-reference. r=gerald
89305c2348d89bc21bdbd47238703a292afb5d55
created 2017-04-11 16:28 -0400
pushed 2017-07-31 14:08 +0000
Michael Layzell Michael Layzell - Bug 1355597 - Support passing empty arrays to MozPromise::All, r=jwwang
07c96da52366a6c0bb606b9ea8706602e7c59da5
created 2017-03-31 18:41 +0800
pushed 2017-07-31 14:08 +0000
JW Wang JW Wang - Bug 1353618 - Optimize storage of MozPromise::mThenValues. r=gerald
54440069e459c3fc6da22f2f4062163da231af9f
created 2017-03-21 10:20 -0500
pushed 2017-07-31 14:08 +0000
Nathan Froyd Nathan Froyd - Bug 1312087 - part 1 - move mozilla::{Mutex,CondVar} to use mozglue locking primitives; r=erahm
6f760f5997f16f08171845e5efca903059c8adf8
created 2017-03-08 11:45 -0500
pushed 2017-07-31 14:08 +0000
Ben Kelly Ben Kelly - Bug 1345251 Make MozPromise usable on worker threads. r=gerald
ab11d51947eb9ec46018150c96784bcc15d565e8
created 2017-03-31 18:41 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1353618 - Optimize storage of MozPromise::mThenValues. r=gerald, a=gchang
34c6c2f302e7b48e3ad2cec575cbd34d423a9d32
created 2017-03-01 11:40 +0100
pushed 2017-06-05 19:31 +0000
Carsten "Tomcat" Book Carsten "Tomcat" Book - merge mozilla-inbound to mozilla-central a=merge
547321d210ec1914212be67f2c4d77a8047094f2
created 2017-02-28 12:32 -0800
pushed 2017-06-05 19:31 +0000
Kyle Machulis Kyle Machulis - Bug 1343337 - Remove IsDispatchReliable check from AbstractThread; r=bholley
f985ae4754e011848afe468dfd6d026a31b06347
created 2017-02-28 12:26 -0800
pushed 2017-06-05 19:31 +0000
Kyle Machulis Kyle Machulis - Bug 1343335 - Add asserts to check for null AbstractThread targets in MozPromise; r=bholley
eb4e310f304053f436b08ce6fdd0add014b7e1f6
created 2017-02-25 22:56 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1342831 - devirtualize AssertIsDead(). r=gerald
43f52c13c08d29cc2b13c3e650d4412017dc74bd
created 2017-02-27 17:13 +0800
pushed 2017-06-05 19:31 +0000
Iris Hsiao Iris Hsiao - Backed out changeset e3df33f21fab (bug 1342831) for test leak
e3df33f21fab407a457876519d4a6e06d51346a5
created 2017-02-25 22:56 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1342831 - devirtualize AssertIsDead(). r=gerald
df87366fda49daa8aaa4d4c9102d02fdfbefbb0a
created 2017-02-15 16:42 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1339677. Part 4 - check if mMutex.mLock is tampered. r=gerald
d1807b8f31dcb7b6e17efd11ede85c4a750855f0
created 2017-02-16 11:43 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1339677. Part 3 - add some sanity checks. r=gerald
dc5b70d15e11a65676ccd620de947cffc012b264
created 2017-01-24 16:24 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1339677. Part 2 - some code cleanup and remove unnecessary scope qualifiers. r=gerald
241efbf6fcc9fbca82cba7c57838726aa2c64c62
created 2017-01-24 16:13 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1339677. Part 1 - assert DoResolveOrReject() is called on the target thread and use stronger assertions. r=gerald
b982cce8fe65ed65966f43146beaee27312c8129
created 2017-01-23 17:47 +0800
pushed 2017-06-05 19:31 +0000
JW Wang JW Wang - Bug 1333280 - Make ThenValueBase::mCompletionPromise a MozPromise::Private. r=gerald
839e34051bf99b49f80893f80b40e4873a251ae1
created 2017-01-21 12:24 +1100
pushed 2017-06-05 19:31 +0000
Gerald Squelart Gerald Squelart - Bug 1332785 - Optimize MozPromiseHolder::Resolve and Reject - r=jwwang
104592a2b9be438203cfc489e60e0db851466ce5
created 2017-02-17 10:33 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1339677 - Add sanity checks to debug MozPromise crashes. r=gerald, a=lizzard
8ac365ab3cfb611c5e85f24f533ac6399cdf0240
created 2017-01-21 17:33 +1100
pushed 2017-04-10 20:44 +0000
Gerald Squelart Gerald Squelart - Bug 1332825 - Use move semantics in MozPromise::All() and AllPromiseHolder - r=jwwang
3666ff5c8e0a4a1a457c1af087fd14c09bf11a01
created 2017-01-21 12:04 +1100
pushed 2017-04-10 20:44 +0000
Gerald Squelart Gerald Squelart - Bug 1332779 - InvokeAsync's MethodCall constructor should take forwarding refs instead of lvalues - r=jwwang
cfe45fea824dbe60fb1f6b702137b0a72b319ded
created 2017-01-11 23:52 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1328130. Part 3 - remove unused functions and fix comments. r=gerald
cae8a8f65c45e12724f2a3314bfd1a9c82771178
created 2017-01-11 16:33 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1328130. Part 2 - remove MozPromiseRequestHolder::Begin(). r=gerald
7a58564c456ace2bb8b7d2cca240921db8b4e51d
created 2017-01-11 15:38 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1328130. Part 1 - add ->Track(). r=gerald
3111403f3ac28c7f40a642f3dc5f4ae35031a9dd
created 2016-12-08 23:09 -1000
pushed 2017-04-10 20:44 +0000
Gerald Squelart Gerald Squelart - Bug 1322964 - MozPromise.Then() taking only one resolve+reject method - r=jwwang
11c458a99a6df082fc5e37406a949a2c0ff5f77b
created 2017-01-03 16:15 +1100
pushed 2017-04-10 20:44 +0000
Gerald Squelart Gerald Squelart - Bug 1322964 - MozPromise.Then() taking only one resolve+reject function - r=jwwang
84c08dfe219edea247c706f0306db71430becb8a
created 2016-12-08 10:48 -1000
pushed 2017-04-10 20:44 +0000
Gerald Squelart Gerald Squelart - Bug 1322964 - MozPromise clean-up - r=jwwang
b1c9fc080abfdded68f9768ba679298174e969e0
created 2016-12-17 11:12 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1324335. Part 1 - give MozPromiseHolder a move constructor. r=gerald
2f1c200220975563e9868c08fe792652f5d7affb
created 2016-12-14 10:59 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1321744. Part 4 - fix comments. r=gerald
79db424875d84b5a67d668a613f9051c845fb8af
created 2016-12-04 08:51 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1321744. Part 3 - remove ThenPromise and replace its use with Then. r=gerald
6c0acb9b43c3c5c9d88ea9d81c6d125bfb60f673
created 2016-12-13 17:07 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1321744. Part 2 - add the ability of promise chaining to Then(). r=gerald
4c68bbe05ad5a22f55b4dfa49ceef64d1aa8af8e
created 2016-12-02 15:41 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1321744. Part 1 - re-implement MozPromise::Then() using the command pattern. r=gerald
ac3e78fed36928df57de46c4d4d7a0ec9df176dc
created 2016-12-13 16:55 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1323155 - fix data race in mCompletionPromise. r=gerald
24424daa3526192a331fa0f75f67fb33790f6546
created 2016-12-02 10:40 +0800
pushed 2017-04-10 20:44 +0000
JW Wang JW Wang - Bug 1321471. Part 2 - remove CompletionPromise() to enforce use of ThenPromise(). r=jwwang
less more (0) -60 tip