-
Linux API functions
Hi, I'm reading free pdf chapters from book Operating systems from Garry Nutt, and in the chapter 8
Basic
Synchronization
Principles
I found one example in which is written that critical section problem can be avoided by using enableInterrupt() and disableInterrupt() function.
Are these functions really exists or it is just pseudo example I don't know because don't know anything about Unix/Linux
Thanks!
-
Those are not Unix system calls (analagous to Windows API, but NOT the same).
Access to shared memory is usually controlled by a mutex, but there are other ways. Critical sections are a kind of shared memory.
-
Can I say Linux API at all?
Is API specific only to winows?
I thought that API functions are those functions in kernel32.dll and similar and system call is actually API function call.
-
API is a generic term, not specific to Windows or *nix.
http://foldoc.doc.ic.ac.uk/foldoc/fo...&action=Search