mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 18:45:19 +00:00
b7b9554364
There are rare corner cases where a Job could be preempted by the JobScheduler and then be rescheduled before the preempted job finished running. This could create weird race conditions with bad consequences. To fix this, we create a fun locking system that prevents two jobs with the same UUID from running at the same time. |
||
---|---|---|
.. | ||
dependencies | ||
persistence | ||
requirements | ||
util | ||
EncryptionKeys.java | ||
Job.java | ||
JobManager.java | ||
JobParameters.java | ||
SafeData.java | ||
WorkLockManager.java |