Skip to content

Fix endless file reading even with a set stop event#58

Merged
yen3 merged 1 commit intomasterfrom
IDCEVODEV-13223
Jul 4, 2023
Merged

Fix endless file reading even with a set stop event#58
yen3 merged 1 commit intomasterfrom
IDCEVODEV-13223

Conversation

@lzhou3957
Copy link
Copy Markdown
Collaborator

Problem: when a dlt file always has incoming dlt messages, the file reading fails to stop even when users set the stop_reading_event. Because we dont check the status of stop_reading_event while reading dlt file returns OK, so the set stop_reading_event wont be perceived

Solution: while reading dlt file returns OK, we have another check of the status of stop_reading_event, so that the reading could be stopped accordingly

Problem: when a dlt file always has incoming dlt messages, the file
reading fails to stop even when users set the stop_reading_event.
Because we dont check the status of stop_reading_event while reading dlt
file returns OK, so the set stop_reading_event wont be perceived

Solution: while reading dlt file returns OK, we have another check of
the status of stop_reading_event, so that the reading could be stopped
accordingly
@yen3 yen3 merged commit 529fdb1 into master Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants