Uint32 SDL_ThreadID(void) { return (Uint32)thd_get_current(); }
static void sndserver_thread(void *blagh) { printf("sndserver: pid is %d\n", thd_get_current()->tid); sndoggvorbis_mainloop(); }