aboutsummaryrefslogtreecommitdiff
path: root/examples/sms-python
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2023-01-17 08:44:15 +0100
committerAleksander Morgado <aleksander@aleksander.es>2023-04-11 13:49:03 +0000
commit0c1ad4eb77fc435920edc07905f6340b976621e2 (patch)
tree4742b9cedc67ee49e4639e606ab6c0ef208b1a94 /examples/sms-python
parentda55fa769ee98aa4ec731418086cbff264eb4401 (diff)
base-modem-at: use better names for pairs of dependent cancellables
We cancel AT commands (or sequences) on cancellation of the modem's cancellable as well as of the optional user-provided one. However, the GTask can be associated with only one. That's okay if the user didn't supply one -- we just use the modem's cancellable only. Otherwise we chain the cancellables together (also cancel the user one with the modem one) at cost of some extra complexity. This aims to make the above a little clearer by using hopefully better names. Suggested-by: Aleksander Morgado <aleksandermj@chromium.org>
Diffstat (limited to 'examples/sms-python')
0 files changed, 0 insertions, 0 deletions