Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
470 stars 289 forks source link

gptp: fix race condition during signal thread creation #750

Closed PawelModrzejewski closed 6 years ago

PawelModrzejewski commented 6 years ago

It was sometimes (2/100 + high cpu load) observed that signal thread was not started (timerq->stop), which led to missing initial PDelay calculation and thus to no Sync/Follow_up processing. Plus some debug logs added.

andrew-elder commented 6 years ago

If @christopher-s-hall says it's ok, then it's good! I had a read and the changes look ok to me. Merging....