Skip to content

Commit 27d85d5

Browse files
committed
Formatting in Tm.5 and Tm.6
1 parent b4a7d10 commit 27d85d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ timed blocking methods in classes from `java.util.concurrent.*` follow this conv
15481548
<a name="external-interaction-schedule"></a>
15491549
[#](#external-interaction-schedule) Tm.5. **Tasks that should happen at a certain system time, UTC
15501550
time, or wall-clock time far in the future, or run periodically with a cadence expressed in terms of
1551-
system/UTC/wall-clock time (rather than internal machines's CPU time) are *not* scheduled with
1551+
system/UTC/wall-clock time (rather than internal machine's CPU time) are *not* scheduled with
15521552
`ScheduledThreadPoolExecutor`?** `ScheduledThreadPoolExecutor` (this class is also behind all
15531553
factory methods in `Executors` which return a `ScheduledExecutorService`) uses `System.nanoTime()`
15541554
for timing intervals. [`nanoTime()` can drift against the system time and the UTC time.](
@@ -1564,7 +1564,7 @@ https://android.jlelse.eu/schedule-tasks-and-jobs-intelligently-in-android-e0b0d
15641564

15651565
<a name="user-interaction-schedule"></a>
15661566
[#](#user-interaction-schedule) Tm.6. On consumer devices (PCs, laptops, tables, phones),
1567-
**`ScheduledThreadPoolExecutor` (or `Timer`) is * not* used for human interaction tasks or
1567+
**`ScheduledThreadPoolExecutor` (or `Timer`) is *not* used for human interaction tasks or
15681568
interactions between the device and a remote service?** Examples of human interaction tasks are
15691569
alarms, notifications, timers, or task management. Examples of interactions between user's device
15701570
and remote services are checking for new e-mails or messages, widget updates, or software updates.

0 commit comments

Comments
 (0)