Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的 linux(ubuntu 发行版)中编辑 sem_post() 和 sem_wait() 函数。但是我找不到函数的位置。我以为它在内核的 semaphore.c 上,但我找不到。我的linux是x86环境3.2.0版本。
您无法编辑/查找这些函数的源代码,它们已在 pthread 库中预编译。