Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adit control api backports #948

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Commits on Jul 24, 2023

  1. JackControlAPI: Replacing sigwait with signalfd and poll

    This would be required so that the polling concept can be used to wait
    on signals as well as wait for events from the other threads.
    
    (cherry picked from adit)
    
    Change-Id: Ic7b8d4c816d601d4b5467ec9c2519f3c547ae59f
    Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
    Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
    DeviLaxmii authored and amiartus committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    58ab7ee View commit details
    Browse the repository at this point in the history
  2. JackControlAPI: Jack threads to notify failure to jackd by posting an…

    … event
    
    On failure, currently the jack thread exits without notifying the jackd.
    So jackd is just waiting for the signals, unaware of the failure.
    With this implementation, on error threads can post an event to jackd
    notifying it to to exit.
    
    (cherry picked from adit commit c430be1e337f52aba8312f7d29990e190cad204a)
    
    Change-Id: Ib484bb1e126f6bff0db76d44e6e036f92f5d8806
    Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
    Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
    DeviLaxmii authored and amiartus committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    1335d72 View commit details
    Browse the repository at this point in the history