Function uacpi_kernel_wait_for_event

uacpi_bool uacpi_kernel_wait_for_event(uacpi_handle, uacpi_u16)

Description

Try to wait for an event (counter > 0) with a millisecond timeout.

A timeout value of 0xFFFF implies infinite wait. The internal counter is decremented by 1 if wait was successful. A successful wait is indicated by returning UACPI_TRUE.