Create thread_safe_blocked_queue.c

Use pthread pthread_mutex_lock() and pthread_mutex_unlock() to create the critical region