Thread: Creating processes and signal handling : Alarm clock and sleeping student

  1. #1
    Registered User
    Join Date
    Feb 2016
    Posts
    1

    Creating processes and signal handling : Alarm clock and sleeping student

    I have to write 3 programs: two sibling processes - alarmClock and sleepingStudent - and a launcher. I having trouble getting the launcher program to run the previous processes. It appears that it is only running the `student`process (which is an endless loop that, although can be killed using the process id, must be stopped by a signal sent from the alarmClock process). Would be able to help me understand what I am doing incorrectly?


    The following link gives more information.
    alarm - Creating processes and signal handling in C - Stack Overflow

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    SO leads to
    "
    Page Not Found

    This question was voluntarily removed by its author."

    Perhaps you should post your own code here, rather than linking to someone else's code which appeared to do what you want.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How do I write an alarm clock program?
    By xeon321 in forum C Programming
    Replies: 3
    Last Post: 06-25-2012, 09:42 AM
  2. not able to work for alarm clock
    By ameyjah in forum C Programming
    Replies: 1
    Last Post: 10-08-2009, 08:51 PM
  3. Alarm signal around popen
    By rotis23 in forum C Programming
    Replies: 3
    Last Post: 03-10-2003, 08:51 AM
  4. IDEA: Alarm Clock
    By ygfperson in forum Contests Board
    Replies: 2
    Last Post: 09-02-2002, 05:25 PM

Tags for this Thread