@@ -49,7 +49,7 @@ module documented [here](./lowpower/README.md).
49
49
2.2 [ Timing accuracy] ( ./FASTPOLL.md#22-timing-accuracy )
50
50
2.3 [ Polling in uasyncio] ( ./FASTPOLL.md#23-polling-in-usayncio )
51
51
3 . [ The modified version] ( ./FASTPOLL.md#3-the-modified-version )
52
- 3.1 [ Fast I/O ] ( ./FASTPOLL.md#31-fast-I/O )
52
+ 3.1 [ Fast IO ] ( ./FASTPOLL.md#31-fast-IO )
53
53
3.2 [ Low Priority] ( ./FASTPOLL.md#32-low-priority )
54
54
3.3 [ Other Features] ( ./FASTPOLL.md#33-other-features )
55
55
3.4 [ Low priority yield] ( ./FASTPOLL.md#34-low-priority-yield )
@@ -260,7 +260,9 @@ Arguments to `get_event_loop()`:
260
260
3 . ` ioq_len=0 ` Length of I/O queue. Default: no queue is created.
261
261
4 . ` lp_len=0 ` Length of low priority queue. Default: no queue.
262
262
263
- ## 3.1 Fast I/O
263
+ ###### [ Contents] ( ./FASTPOLL.md#contents )
264
+
265
+ ## 3.1 Fast IO
264
266
265
267
Device drivers which are to be capable of running at high priority should be
266
268
written to use stream I/O: see
@@ -275,6 +277,8 @@ This behaviour may be desired where short bursts of fast data are handled.
275
277
Otherwise drivers of such hardware should be designed to avoid hogging, using
276
278
techniques like buffering or timing.
277
279
280
+ ###### [ Contents] ( ./FASTPOLL.md#contents )
281
+
278
282
## 3.2 Low Priority
279
283
280
284
The low priority solution is based on the notion of "after" implying a time
@@ -296,6 +300,8 @@ It adds the following event loop methods:
296
300
297
301
See [ Low priority callbacks] ( ./FASTPOLL.md#35-low-priority-callbacks )
298
302
303
+ ###### [ Contents] ( ./FASTPOLL.md#contents )
304
+
299
305
## 3.3 Other Features
300
306
301
307
The version has a ` version ` variable containing 'fast_io'. This enables the
@@ -321,6 +327,9 @@ bar = Bar() # Constructor calls get_event_loop()
321
327
# and renders these args inoperative
322
328
loop = asyncio.get_event_loop(runq_len = 40 , waitq_len = 40 )
323
329
```
330
+
331
+ ###### [ Contents] ( ./FASTPOLL.md#contents )
332
+
324
333
## 3.4 Low priority yield
325
334
326
335
Consider this code fragment:
0 commit comments