Skip to content

Conversation

okkez
Copy link
Member

@okkez okkez commented Sep 27, 2017

The problematic sequence:

  1. Add last line to @buffer
  2. Call flush_buffer in flush_timeout_buffer (via periodical timer)
  3. flush_buffer

Sequence 2 and 3 may race.

The problematic sequence:

1. Add last line to `@buffer`
2. Call `flush_buffer` in `flush_timeout_buffer` (via periodical timer)
3. `flush_buffer`

Sequence 2 and 3 may race.
@jdef
Copy link

jdef commented Sep 9, 2020

has this race otherwise been resolved?

@okkez
Copy link
Member Author

okkez commented Sep 11, 2020

This is very rare case. I cannot reproduce this race condition in my environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants