equal
deleted
inserted
replaced
56 |
56 |
57 /* Set the error value for the main thread */ |
57 /* Set the error value for the main thread */ |
58 SDL_SetError("No worries"); |
58 SDL_SetError("No worries"); |
59 |
59 |
60 alive = 1; |
60 alive = 1; |
61 thread = SDL_CreateThread(ThreadFunc, "#1"); |
61 thread = SDL_CreateThread(ThreadFunc, NULL, "#1"); |
62 if (thread == NULL) { |
62 if (thread == NULL) { |
63 fprintf(stderr, "Couldn't create thread: %s\n", SDL_GetError()); |
63 fprintf(stderr, "Couldn't create thread: %s\n", SDL_GetError()); |
64 quit(1); |
64 quit(1); |
65 } |
65 } |
66 SDL_Delay(5 * 1000); |
66 SDL_Delay(5 * 1000); |