Thread: Linux API functions

  1. #1
    Registered User Micko's Avatar
    Join Date
    Nov 2003

    Linux API functions

    Hi, I'm reading free pdf chapters from book Operating systems from Garry Nutt, and in the chapter 8
    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

  2. #2
    Join Date
    Nov 2003
    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.

  3. #3
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    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.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    API is a generic term, not specific to Windows or *nix.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Searching API functions
    By @nthony in forum Windows Programming
    Replies: 2
    Last Post: 01-13-2007, 06:22 PM
  2. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM
  3. Linux API
    By c++.prog.newbie in forum Linux Programming
    Replies: 10
    Last Post: 02-25-2004, 04:44 AM
  4. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM
  5. linux vs linux?
    By Dreamerv3 in forum Linux Programming
    Replies: 5
    Last Post: 01-22-2002, 09:39 AM