Kernel Objects and Watchers
Semaphore
Semaphore are important in the concept of kernel objects and watchers. There main purpose is thread blocking. In order to wake unblock a thread the blocker either needs to be interrupted or receive a signal. This signal is not the same as a signal used in LIBC.
Basic Semaphore Blocker Definition:
Currently the main use of a semaphore is to aid in the Syscall Sleep function as it can block a thread from running. And also to await for a reply from a message.
Kernel Objects
A kernel object is a object that is used towards Processes. This can be MessageEnpoints, Interfaces, Services or Processes themselves.
Processes can watch other processes.
Last updated