iotile / iotile/coretools

Add retry logic if jlink RPC fails to acquire spinlock

Open
#330 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.