Searched refs:state_lock (Results 1 – 4 of 4) sorted by relevance
37 spin_lock(&(sp_ptr->state_lock)); in sp_state_set()39 spin_unlock(&(sp_ptr->state_lock)); in sp_state_set()51 spin_lock(&(sp_ptr->state_lock)); in sp_state_wait_switch()59 spin_unlock(&(sp_ptr->state_lock)); in sp_state_wait_switch()71 spin_lock(&(sp_ptr->state_lock)); in sp_state_try_switch()79 spin_unlock(&(sp_ptr->state_lock)); in sp_state_try_switch()
51 spinlock_t state_lock; member
83 state_lock: Mutex<ChildState>, field93 state_lock: Mutex::new(NotWaiting), in spawn()110 let mut state = self.state_lock.lock().unwrap(); in wait()152 let mut state = self.state_lock.lock().unwrap(); in wait()167 let mut status = self.state_lock.lock().unwrap(); in try_wait()197 let status = self.state_lock.lock().unwrap(); in kill()
13 let status = self.state_lock.lock().unwrap(); in send_signal()