SDL Multithreading

Any suggestions on this? If I posted too much code I can narrow it down to the thread functions.