最終更新:2012-12-29 (土) 18:22:09 (2511d)  

linux/semaphore.h はてなブックマークを見る
Top / linux / semaphore.h

構造体

  • semaphore?

関数

  • sema_init?
  • down?(struct semaphore *sem) - acquire the semaphore
  • down_interruptible(struct semaphore *sem) - acquire the semaphore unless interrupted
  • down_killable?(struct semaphore *sem) - acquire the semaphore unless killed
  • down_trylock?(struct semaphore *sem) - try to acquire the semaphore, without waiting
  • down_timeout?(struct semaphore *sem, long jiffies) - acquire the semaphore within a specified time
  • up?(struct semaphore *sem) - release the semaphore

実装

関連