212
212
// so that any notewakeup racing with the return does not
213
213
// try to grant us the semaphore when we don't expect it.
217
217
// No wakeup yet; unregister if possible.
220
220
} else if(mp == (M*)LOCKED) {
221
221
// Wakeup happened so semaphore is available.