Multithreaded SDL_SetCursor

i’m trying to add a simple animated cursor that sits and spins while a lengthy operation takes place in the main thread.

i’m basically creating a new thread that makes successive calls to SDL_SetCursor() with SDL_Delays in between each. but nothing happens to the cursor! i have verified that the thread is actually running by adding printf statements and they are executed fine.

there are no other SDL_SetCursor() calls that would be over-riding or interfering…

does SDL_SetCursor() only work for the primary thread?

thanks,

miles vignol
fathom entertainment