Synchronization problem in nt_send_process?