摘要: void down(struct semaphore *sem){ unsigned long flags; raw_spin_lock_irqsave(&sem->lock, flags); if (likely(sem->count > 0)) sem->coun... 阅读全文
posted @ 2015-12-26 21:45 zer-o 阅读(492) 评论(0) 推荐(0) 编辑