| 824 | } |
| 825 | |
| 826 | void *sl_createthread(int (*fn)(void *), void *data, const char *name) |
| 827 | { |
| 828 | sl_threadinfo *ti = new sl_threadinfo; |
| 829 | ti->data = data; |
| 830 | ti->fn = fn; |
| 831 | ti->done = 0; |
| 832 | ti->handle = SDL_CreateThread(sl_thread_indir, name, ti); |
| 833 | return (void *) ti; |
| 834 | } |
| 835 | |
| 836 | int sl_waitthread(void *ti) |
| 837 | { |
no outgoing calls
no test coverage detected