Skip to content
  • Hugo Beauzée-Luyssen's avatar
    input: Add input_item_parser_id_Interrupt · 3fdba303
    Hugo Beauzée-Luyssen authored
    This effectively split input_item_parser_id_Release in 2 functions,
    allowing an asynchronous cancellation to occur.
    Otherwise, the input thread would invoke the callback synchronously
    while the thread cancelling the preparser is blocked joining the input
    thread. Both those thread are very likely to be called with a mutex
    held, which would cause a deadlock.
    3fdba303