Skip to content

fix: only sleep if delay is positive - #348

Open
Nachtzuster wants to merge 1 commit into
abrasive:masterfrom
Nachtzuster:dummy-delay
Open

fix: only sleep if delay is positive#348
Nachtzuster wants to merge 1 commit into
abrasive:masterfrom
Nachtzuster:dummy-delay

Conversation

@Nachtzuster

Copy link
Copy Markdown

part4 of the patch series created in my sntp branch but are not necessary to enable the time sync feature

  • ran into this one on a BSD system
  • at startup we could be calling play() slightly too late, so sleep time could be negative, hanging shairport.

looks like timing is a bit different on BSD vs Linux

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.

1 participant