Menu
  • Blog
  • Archive
    • Motorcycle Safety Riding | 機車安全駕駛 | 機車防禦駕駛
    • A Day A Python Standard Library
    • IOTA
    • Opinion | 媒體投書 | 個人觀點
  • Projects
  • Album
  • Teaching
  • Signature
  • About Me

louie_lu's blog.

人生是個無盡的深淵

標籤: Semaphore

Mutex, Semaphore, the difference, and Linux kernel

In C, kernel, Linux, 雜事Tags Linux, Mutex, Semaphore2016-10-22Leave a comment louie.lu

名詞定義 Mutex: Linux kenrel 中的 mutex lock, <include/mutex.h> Semaphore: Linux kernel 中的 semaphore, <include/semaphore.h> mutual exclusion: 中翻互斥鎖,一個概念,為了防止 concurrency 狀況下出現 race condition. &nb …

Continue Reading

Site Footer

Contact: me at louie dot lu