• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Signals handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Signals handling


  • Subject: Signals handling
  • From: Vyacheslav Karamov <email@hidden>
  • Date: Thu, 22 May 2008 13:14:47 +0300

Hi All!

I'm new in Mac programming and I develop launchd daemon which uses CoreAudio to play sounds.
But my daemon ignores signals!


void SignalHandler(int)
{
   asl_log(g_asl, log_msg, ASL_LEVEL_NOTICE, "Signal received");
  asl_close(g_asl);
  exit(0);
}

int main( int argc, char * const argv[] )
{
    signal(SIGTERM, SignalHandler);
    signal(SIGINT, SignalHandler);
....
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Core Audio Programmer Needed
  • Next by Date: Re: AU Lab
  • Previous by thread: Core Audio Programmer Needed
  • Next by thread: Problems creating MIDI GarageBand will accept
  • Index(es):
    • Date
    • Thread