/// The dropping of the MutexGuard will release the lock it was created from.
The dropping of the MutexGuard will release the lock it was created from.
The dropping of the MutexGuard will release the lock it was created from .
fn drop(&mut self) {
		let mut count = self.value.lock();
		*count = true;
		// try to wakeup next task
		match self.queue.lock().pop() {
			Some(task) => {
				wakeup_task(task);
				return;
			}
			None => {}
		}
	}
fn drop ( & mut self ) { let mut count = self . value . lock ( ) ; * count = true ; // try to wakeup next task match self . queue . lock ( ) . pop ( ) { Some ( task ) => { wakeup_task ( task ) ; return ; } None => { } } }
The dropping of the MutexGuard will release the lock it was created from.
The dropping of the MutexGuard will release the lock it was created from .
&mut self