$NetBSD: patch-bd,v 1.2 2003/12/20 16:51:38 ben Exp $

--- win/jtp/jtp_sdl.c.orig	2001-07-02 07:05:50.000000000 -0700
+++ win/jtp/jtp_sdl.c
@@ -405,6 +405,11 @@ void jtp_SDLPollForMessage(char waitform
 {
   SDL_Event cur_event;
 
+#ifdef _PTH_PTHREAD_H_
+  /* give the SDL audio thread a chance */
+  pthread_yield_np();
+#endif
+
   /* Process any waiting messages */
   jtp_sdl_polled_message_arrived = JTP_SDL_POLLED_MESSAGE_NOT_ARRIVED;
   while (SDL_PollEvent(&cur_event))
