• 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
use of c select() style events with the objc run loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

use of c select() style events with the objc run loop


  • Subject: use of c select() style events with the objc run loop
  • From: Robert Goldsmith <email@hidden>
  • Date: Mon, 10 May 2004 16:57:36 +0100

Hi :)

I want to monitor input on a raw serial port - something I would use
select for under c. However, has anyone any suggestions on how I can do
it using the event system in a gui objc app? This is a raw serial port,
not a tcp port, being controlled using the standard posix/c read and
write commands.

I would like to be able to catch and display serial port input and
transmit typed content from an NSTextView without the serial port
routines blocking. An event sounds the most sensible and, if I have to,
I suppose I could use a timer and poll, but that seems wrong somehow :)

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.


  • Follow-Ups:
    • Re: use of c select() style events with the objc run loop
      • From: Nicko van Someren <email@hidden>
    • Re: use of c select() style events with the objc run loop
      • From: Andreas Mayer <email@hidden>
    • Re: use of c select() style events with the objc run loop
      • From: Ondra Cada <email@hidden>
    • Re: use of c select() style events with the objc run loop
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Callbacks, GUI updates and threading
  • Next by Date: Customized NSTextView drawing
  • Previous by thread: Fwd: NSArrayController can't insert object
  • Next by thread: Re: use of c select() style events with the objc run loop
  • Index(es):
    • Date
    • Thread