You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/concurrency/CrashlyticsWorker.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,8 @@
33
33
/**
34
34
* Worker for executing tasks sequentially on the given executor service.
35
35
*
36
-
* <p>Work on the queue may block, or it may return a Task, such that the underlying thread may be
37
-
* re-used while the worker queue is still blocked.
36
+
* <p>Work on the queue may suspend, or it may return a Task, such that the underlying thread may be
37
+
* re-used while the worker queue is suspended.
38
38
*
39
39
* <p>Work enqueued on this worker will be run serially, regardless of the underlying executor.
40
40
* Therefore, workers on the queue should not add new work to the queue and then block on it, as
@@ -104,7 +104,7 @@ public Task<Void> submit(Runnable runnable) {
104
104
/**
105
105
* Submits a <code>Callable Task</code> for asynchronous execution on the executor.
106
106
*
107
-
* <p>This is useful for making the worker block on an asynchronous operation, while letting the
107
+
* <p>This is useful for making the worker suspend on an asynchronous operation, while letting the
108
108
* underlying threads be re-used.
109
109
*
110
110
* <p>Returns a <code>Task</code> which will be resolved upon successful completion of the Task
Copy file name to clipboardExpand all lines: firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/concurrency/CrashlyticsWorkers.kt
0 commit comments