GZGQ.COM
welcome to my space
X
Search:  
 HOME   signal() function and sigaction() function
signal() function and sigaction() function
Published by: jane 2009-01-08
Welcome to:gzgq.com

  • Sys::SigAction - Perl extension for Consistent Signal Handling ::
    Perl 5.8.0 and later versions implements 'safe' signal handling on platforms which support the POSIX sigaction() function. This is accomplished by having
    http://search.cpan.org/~lbaxter/Sys-SigAction/lib/Sys/SigAction.pm
    HOME
    I have some doubt about signal when I read APUE2:
    Bug#66803: [PATCH] Problem with signals and LinuxThreads.::
    One of them is in sysdeps/posix/signal.c: libpthread overrides glibc's sigaction () function (which is declared as a weak alias in glibc) and provides its
    http://lists.debian.org/debian-glibc/2000/07/msg00004.html
    HOME
    The GNU C Library - Table of Contents::
    POSIX and BSD Signal Facilities · BSD Function to Establish a Handler · BSD Functions for Blocking Signals · Using a Separate Signal Stack
    http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_toc.html
    HOME
    1.whether we can use the sigaction()function instead of the signal() function when we need catch and handle the specific signal.
    SGI TPL View (2 sigaction)::
    SIGACTION(2) NAME sigaction - software signal facilities (POSIX) SYNOPSIS # include sig is passed as the first argument to the signal-catching function.
    http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?cmd=getdoc&coll=0650&db=man&fname=2 sigaction
    HOME
    2.what are the differences between the signal()function and the sigaction()function?
    3.and what are the advantages of use the sigaction() functions comparing to the signal() function?

  • The GNU C Library - Signal Handling::
    The sigaction function has the same basic effect as signal : to specify how a It's possible to use both the signal and sigaction functions within a
    http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_21.html
    HOME

  • 1. Yes. Using sigaction is preferred.

    2/3. For one thing, sigaction implementations are more similar, while the behaviour of signal is implementation specific, so sigaction is more portable. For more info read their manpages.


  • Just my thoughts...

    This was posted under the Threads section ( pthreads since we are talking about *NIX systems )...

    Soooo...

    The absolute proper way would be to use a sigmask ( ... ) call followed with sigwait or sigtimedwait in the thread handling the specific target signal... AND go ahead and do a sigaction install ( but make it part of the config / pre-compile process ) to make certain broken systems ( older linux - prethreads - etc ) don't choke...


    Michael





  • Traditional University or MLM University? You Choose
    15 Questions to Ask Your Software Vendor

    You are looking at:gzgq.com's signal() function and sigaction() function, click gzgq.com to home
  • amd 780g radeonhd and xbmc
  • lirc problems
  • artwork for videos and music
  • weird problem
  • setting correct audio device
  • play pause toggle
  • playing incomplete rar files
  • mce remote version
  • help with xorg conf
  • what is more important for performance
  • e couldn t find package xbmc
  • sound issue i think
  • dropping frames at the start of every video
  • python fails to initialize crash
  •  
  • crash segfault when going into video options during playback
  • mouse cursor
  • problems playing hd content
  • htpc for xbmc how about this hardware
  • install 32bit on 64bit amd system
  • tvdb com thumbs
  • lirc mce remote xbmc livexbmc v2
  • how to enable lirc in xbmc
  • samba cifs mounts do not show all files or folders
  • quick question on event clients and ppas
  • dropping frames while playing high bitrate sd content
  • file manager home folder path
  • linux xbmc for dummies
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 gzgq.com        Site made:CFZ