This function takes a pointer to an SDL_Event. Does it push this pointer onto the event queue, or a copy of the object it points to? Is it safe to pass it a pointer to an automatic variable in a function belonging to secondary thread?