Add retry logic if jlink RPC fails to acquire spinlock
Open
transport-jlink
type:enhancement
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
The internal shared memory rpc mechanism that `iotile-transport-jlink` uses is not able to block since it runs entirely in interrupt mode. There is an internal mutex that gates control of the external tilebus that must be acquired before sending RPCS to other tiles.
Since the jlink cannot block on that mutex, we need to implement a retry system that retriggers the RPC attempt if it is does not acquire the gate the first time.
Contributor guide
Assessment
This issue has not been assessed yet.