Andreas Farre
3211aa3b33
Bug 1368072 - Move idle dispatch to thread manager. r=froydnj
...
Also exposes idle dispatch with timeout.
2017-06-22 11:14:10 +02:00
Phil Ringnalda
483d45dcb9
Backed out 3 changesets (bug 1368072) for colliding with a new use of the thing it was renaming
...
Backed out changeset 1d7e008d7d70 (bug 1368072)
Backed out changeset c4a1ddf9be0d (bug 1368072)
Backed out changeset ba1cdae5a8d6 (bug 1368072)
2017-06-21 23:28:37 -07:00
Nathan Froyd
592ac3680a
Bug 1372670 - part 1 - remove non-MOZILLA_INTERNAL_API NS_IsMainThread(); r=erahm
...
Everybody who cares about this function calls it from within libxul.
2017-06-21 12:59:28 -04:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Andreas Farre
33d74bc42c
Bug 1368072 - Move idle dispatch to thread manager. r=froydnj
...
Also exposes idle dispatch with timeout.
2017-06-21 12:36:41 +02:00
Phil Ringnalda
27342433a0
Merge m-c to m-i
...
MozReview-Commit-ID: 5k3Ip7tGRsC
2017-06-20 21:49:33 -07:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Phil Ringnalda
bc4a75b212
Backed out 3 changesets (bug 1368072) for timeouts in test_TelemetrySession.js and test_fullscreen-api.html and unhandled "TypeError: Services.tm.mainThread.idleDispatch is not a function" promise rejections
...
Backed out changeset 357635c84e49 (bug 1368072)
Backed out changeset 1797afe16a2a (bug 1368072)
Backed out changeset 4782401394a9 (bug 1368072)
MozReview-Commit-ID: 6kdcSkERjTD
2017-06-20 21:41:14 -07:00
Eric Rahm
ee77ff26e0
Bug 1374414 - Stop warning if target is null in idle dispatch. r=froydnj
2017-06-20 10:31:33 -07:00
Andreas Farre
6ff2e1ad99
Bug 1368072 - Move idle dispatch to thread manager. r=froydnj
...
Also exposes idle dispatch with timeout.
2017-06-19 06:36:00 +02:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Olli Pettay
34c5cca53e
bug 1358898, ensure AsyncFreeSnowWhite is run often enough, r=mccr8,nfroyd
2017-06-16 20:00:04 +03:00
Bill McCloskey
b9ea10b472
Bug 1365102 - Convert NS_GetCurrentThread uses in xpcom/ (r=froydnj)
...
MozReview-Commit-ID: 69qVzf8QJMq
2017-06-12 20:21:43 -07:00
Bill McCloskey
dfef750c32
Bug 1361164 - Add Get{Current,Main}ThreadEventTarget getters to replace NS_Get{Current,Main}Thread (r=froydnj)
...
We want people to transition to using event targets rather than threads when possible. These
getters should make it easier to make that change.
MozReview-Commit-ID: 3bN4tRgJjBL
2017-06-12 20:20:08 -07:00
Bill McCloskey
04b1343a42
Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj)
...
MozReview-Commit-ID: 12bk9hQ7Wnv
2017-06-12 20:20:08 -07:00
Olli Pettay
4a39d744a0
Bug 1358476, add support for timeout when doing idle dispatch, p=farre,smaug, r=nfroyd
2017-05-24 17:34:50 -04:00
Andreas Farre
41eb664f21
Bug 1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable. r=smaug
...
The name nsIIdleRunnable makes more sense, since its main use is in
nsIThread::idleDispatch.
MozReview-Commit-ID: H6qchxKnt7a
2017-05-23 13:24:25 +02:00
Bill McCloskey
1e3f60887c
Bug 1361561 - Add GetCurrentVirtualThread function (r=froydnj)
...
This change adds some functions that should be used instead of PR_GetCurrentThread. They both return a PRThread. GetCurrentPhysicalThread does exactly the same thing as PR_GetCurrentThread, but it makes it clearer what you're getting when there are cooperatively scheduled threads running.
GetCurrentVirtualThread returns the same value for all threads in a cooperative thread pool. The actual value it returns is somewhat immaterial.
MozReview-Commit-ID: 4lFwsF2NuzC
2017-05-09 21:53:23 -07:00
Cervantes Yu
6bcb4f30a4
Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
...
NS_SetCurrentThreadName() is added as an alternative to PR_SetCurrentThreadName()
inside libxul. The thread names are collected in the form of crash annotation to
be processed on socorro.
MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Sebastian Hengst
189424cb45
Backed out changeset 7fdcabdbb675 (bug 1024669) for failing mda, GTest and talos jobs. r=backout on a CLOSED TREE
2017-04-10 19:05:44 +02:00
Cervantes Yu
c2014c712d
Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
...
MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Carsten "Tomcat" Book
e6d6caf1f8
Backed out changeset 7a52d887bcea (bug 1024669) for bustage
2017-04-10 11:43:49 +02:00
Cervantes Yu
eb13868db5
Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
...
MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Chris Peterson
ec64a5b9f4
Bug 1331171 - Part 3: Remove xpcom checks for Windows Vista. r=froydnj
...
Also remove the #includes of some unused header files.
MozReview-Commit-ID: 6mRoIazEA3j
2017-01-12 01:13:55 -08:00
Bill McCloskey
a82c8d5566
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Wes Kocher
ac78cfc4f2
Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
...
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)
MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey
e584c01765
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 10:04:55 -08:00
Benjamin Smedberg
9fafb93633
Bug 1332631 part D - file moves from xpcom/glue to xpcom/threads, r=froydnj
...
MozReview-Commit-ID: kDBGvlYjyW
2017-01-20 14:13:57 -05:00