Hi,

AFAIK volatile keyword tells the compiler not to optimize the operations 
performed on a variable declared volatile.
I dont think it is required here

What do you feel?

--
Satish

Saifi <[EMAIL PROTECTED]> wrote:                                  Hi:
 
 What does this piece of C code do ?
 
 ----------------------------------------------------------
 volatile sig_atomic_t caught_signal;
 
 static void signal_handler(int signo)
 {
  caught_signal = signo;
 }
 ----------------------------------------------------------
 
 I saw this code snippet in DragonFly installer code.
 Interestingly enough the OS installer has a CGI based interface. 
 DFly guys use Thomas Boutell CGI library. Pretty neat idea!
 
 thanks
 Saifi.
 
 
     
             



                                
---------------------------------
 Find out what India is talking about on Yahoo! Answers India.

[Non-text portions of this message have been removed]






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~-> 

=====================================================
      Mark your calendar for the next TSM
      Saturday (5pm - 8pm) on 29th July 2006

      Clustering & High Availability
      Technology and Programming Models

      What are clusters and why use them ?
      Basic Cluster Architecture
      Cluster Systems
      Cluster Software Products

      Cluster technology
      - vs Parallel computing
      - vs Distributed Systems
      - vs SMP
      - vs NUMA

      Basic Programming Models
      - Shared Model
      - Message Passing Interface
      - STAPL

      High Availability
      - FailOver
      - FailOver processing Model
      - HeartBeat, Events
      - Data Failover
      - Communication FailOver

      Clustering & HA Illustrations
      - Linux clusters 
      - MySQL clusters 
      - Appliance clusters (Firewall)

      Venue:
      CommVault Systems Pvt Ltd
      5th Floor, Conference Room
      Ashok Janardhan Chambers
      1-10-72, S.P. Road
      Begumpet
      Hyderabad - 500016 

      Helpline:
      +91 - 99499 91585
      +91 - 99496 50605 

      To know more about TWINCLING Society
            http://www.twincling.org/
===================================================== 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/twincling/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to