RE: Kernel 2.x POSIX Compliance/Conformance...

From: Torrey Hoffman (thoffman_at_arnor.net)
Date: 02/04/04

  • Next message: Oliver Dain: "proper place for devfs_register_chrdev with pci_module_init"
    To: "Randazzo, Michael" <RANDAZZO@ddc-web.com>
    Date:	Wed, 04 Feb 2004 12:51:17 -0800
    
    

    On Wed, 2004-02-04 at 12:18, Randazzo, Michael wrote:
    > Where are the kernel calls defined for locks and semaphores?
    >
    > How come the kernel headers don't define Posix.4
    > semaphores (_POSIX_SEMAPHROES) or Posix itself
    > (_POSIX_VERSION is undefined)
    >

    I think you need to read "Linux Device Drivers". If you don't want to
    buy it, you can read it for free online.

    http://www.xml.com/ldd/chapter/book/

    Chapter 9, pages 284-286 discusses locking and atomic operations.

    -- 
    Torrey Hoffman <thoffman@arnor.net>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Oliver Dain: "proper place for devfs_register_chrdev with pci_module_init"

    Relevant Pages

    • Re: epoll gives broken results when interrupted with a signal
      ... When epoll seems to go wrong, ... my code can't pull in the kernel headers so it has its own ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Illegal use of reserved word in system.h
      ... MySQL using kernel headers is a bit sad given that the same macros were ... put into proper user mode headers and under even more open licenses by ... DRI one does seem to be a real bug. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Make scsi.h nominally userspace-clean
      ... > scsi/scsi.h does not compile cleanly in userspace programs due to its ... > I do not argue that including this header file in a program is ... but other kernel headers already take as many precautions ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Splitting kernel headers and deprecating __KERNEL__
      ... the kernel headers by googling for /usr/include/asm/foo.h. ... I don't think it's that uncommon to use spinlocks in user ... Chrony even has an FAQ entry on how to circumvent the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Illegal use of reserved word in system.h
      ... > I'd like to request that this be renamed to something else, like mynew ... programs should not include kernel headers anyway. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)