mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 22:59:54 +01:00
Add a comment discouraging use of dedicated threads.
This commit is contained in:
@@ -30,6 +30,9 @@ public interface AndroidWakeLockManager {
|
|||||||
* lock is acquired before starting the thread and released when the task
|
* lock is acquired before starting the thread and released when the task
|
||||||
* completes, or if an exception is thrown while starting the thread or
|
* completes, or if an exception is thrown while starting the thread or
|
||||||
* running the task.
|
* running the task.
|
||||||
|
* <p>
|
||||||
|
* This method should only be used for lifecycle management tasks that
|
||||||
|
* can't be run on an executor.
|
||||||
*/
|
*/
|
||||||
void executeWakefully(Runnable r, String tag);
|
void executeWakefully(Runnable r, String tag);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user