Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

PPMd8: Improve threading synchronization #44

Merged
merged 6 commits into from
Aug 13, 2021
Merged

Conversation

miurahr
Copy link
Owner

@miurahr miurahr commented Aug 13, 2021

It improves threading control for synchronization.

  • Recheck when timedwait call returns. It may return without condition.
  • See finished flag before check input buffer empty
  • Free resources when dealloc
  • test: add timeout, it sometimes freezes
  • Change pthread_cond_timedwait() compat function

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
@miurahr miurahr changed the title PPMd8: Fix windows error PPMd8: Improve threading synchronization Aug 13, 2021
@miurahr miurahr merged commit 8bce2c0 into main Aug 13, 2021
@miurahr miurahr deleted the topic-try-fix-win-error branch August 13, 2021 02:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant