audiohal: Remove timeouts in eventflag waits
Having a timeout is causing issues on hal driver thread startup. If thread startup is delayed, then eventflag wait exits with timeout. This leaves fmqs in an intermediate state, and a pending wakeup for the server enables the client and the server to run in parallel, causing races. The legacy HAL interface didn't have any timeouts for read / write operations, so there is no good reason for having them in the wrapping interface. The only difference with legacy HAL is that Treble HAL can be in a separate process, and can crash, but this is handled separately. Test: Check logs on startup, must be no fmq read / write errors Bug: 35346610 Change-Id: Id3f79d31305afab194a4543bfb4501665518a27b
Loading
Please register or sign in to comment