Linux API functions

This is a discussion on Linux API functions within the Linux Programming forums, part of the Platform Specific Boards category; Hi, I'm reading free pdf chapters from book Operating systems from Garry Nutt, and in the chapter 8 Basic Synchronization ...

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

    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!

  2. #2
    .
    Join Date
    Nov 2003
    Posts
    307
    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
    Posts
    712
    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
    Posts
    6,231
    API is a generic term, not specific to Windows or *nix.
    http://foldoc.doc.ic.ac.uk/foldoc/fo...&action=Search
    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, 05:22 PM
  2. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 04:15 AM
  3. Linux API
    By c++.prog.newbie in forum Linux Programming
    Replies: 10
    Last Post: 02-25-2004, 03: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, 08:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21