• Pierre Ynard's avatar
    Thread cancellation on WinCE · b3eb9ab9
    Pierre Ynard authored
    This patch adds support for thread cancellation on Windows CE. It
    emulates missing functions such as WaitForSingleObjectEx, by creating
    a cancellation event handle, and forwarding the wait functions to wait
    on both the original handles and the cancellation event. The thread can
    then be cancelled by triggering the event from another thread.
    Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
    b3eb9ab9
threads.c 32.6 KB