summaryrefslogtreecommitdiff
path: root/tests/misc/print_exception.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-08-17 10:21:27 +1000
committerDamien George <damien@micropython.org>2020-08-26 14:57:36 +1000
commit0bc2c1c1057d7f5c1e4987139062386a8f9fe5f2 (patch)
treeee1f2563071e9aea77831a2529e6bbf055ab94b4 /tests/misc/print_exception.py
parent3d9a7ed02f4e50ee2eb541ac2f4d7f6f5b5d316e (diff)
extmod/modbluetooth: Fix race between READ_REQUEST and other IRQs.
The READ_REQUEST callback is handled as a hard interrupt (because the BLE stack needs an immediate response from it so it can continue) and so calls to Python require extra protection: - the caller-owned tuple passed into the callback must be separate from the tuple used by other callback events (which are soft interrupts); - the GC and scheduler must be locked during callback execution.
Diffstat (limited to 'tests/misc/print_exception.py')
0 files changed, 0 insertions, 0 deletions