$NetBSD: patch-bd,v 1.1.1.1 2002/01/21 11:56:17 pooka Exp $ --- win/jtp/jtp_sdl.c.orig Mon Jul 2 07:05:50 2001 +++ win/jtp/jtp_sdl.c @@ -405,6 +405,9 @@ { SDL_Event cur_event; + /* give the SDL audio thread a chance */ + pthread_yield_np(); + /* Process any waiting messages */ jtp_sdl_polled_message_arrived = JTP_SDL_POLLED_MESSAGE_NOT_ARRIVED; while (SDL_PollEvent(&cur_event))