Create thread_safe_queue.cxx

Works both on linux and windows!