19 years ago
Highlights
19 years ago
19 years ago
This is my first attempt at multithreading so i'm unfamiliar. I'm using SDL threads, and i'm trying to do something like. //A,B,C are global SDL_Thread * threadA; do { threadA =…
19 years ago
I'm trying to make a callback to a member function of a subclass, and i'm trying to use a macro to create a wrapper function, which does the type casting, and maintains consiste…
19 years ago
ok i think i figured it outSDL_cond* gamestuff = SDL_CreateCond();SDL_mutex* framestuff = SDL_CreateMutex();Calc_GameStuff(){ SDL_LockMutex(framestuff) //CondWait must have a lo…
19 years ago
Latest Activity
See all in Discussionsok i think i figured it outSDL_cond* gamestuff = SDL_CreateCond();SDL_mutex* framestuff = SDL_CreateMutex();Calc_GameStuff(){ SDL_LockMutex(framestuff) //CondWait must have a locked mutex …
19 years ago
kauna, you example won't work because you could be in the middle of Calc_GameStuff() when Frame = GameStuff+GraphicsStuff; is switched …
19 years ago
yes, calc_A, and calc_B are complex. and yes i'm trying to take advantage of multi-core, every thing's already setup and …
19 years ago