• 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
Re: catching signals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: catching signals


  • Subject: Re: catching signals
  • From: Robert Goldsmith <email@hidden>
  • Date: Tue, 20 Apr 2004 22:08:34 +0100

> Is not SIGINT the signal sent by typing control C when launched from
> terminal ?

Yep.

> Try sending kill -INT to your application from terminal to see if you
> caught the right signal

Hmm, that is caught.

> I doubt SIGINT has anything to do wth serial port handling

According to the serial port docs, setting:

options.c_iflag |= BRKINT; //Send a SIGINT when a break condition is
detected

http://www.easysw.com/~mike/serial/serial.html#config
(scroll down to Input Options)

According to Motorola, the chip I am working with sends a Break signal
when it reaches a breakpoint in the code (which I know it reaches). I
just can't work out how to catch that break signal :(

Robert

---
GnuPG public key:
http://www.Far-Blue.co.uk/

[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >catching signals (From: Robert Goldsmith <email@hidden>)

  • Prev by Date: Re: System Preferences...
  • Next by Date: Re: [little OT] Licensing/Implementing in Cocoa/Obj-C
  • Previous by thread: catching signals
  • Next by thread: Linking problem
  • Index(es):
    • Date
    • Thread