Tugkan
Tugkan

Reputation: 183

sem_post sem_wait functions in linux

I want to edit sem_post() and sem_wait() functions in my linux (ubuntu distro). However I cannot find the location of the functions. I assumed it is on semaphore.c on kernel but I could not find. My linux is x86 environment 3.2.0 version.

Upvotes: 0

Views: 617

Answers (1)

user1535825
user1535825

Reputation: 26

You cannot edit/find those functions' source codes, they are pre-compiled in the pthread library.

Upvotes: 1

Related Questions