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

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


  • Subject: Re: use of c select() style events with the objc run loop
  • From: j o a r <email@hidden>
  • Date: Mon, 10 May 2004 19:20:10 +0200

I think that you should read up on the current documentation...

j o a r

On 2004-05-10, at 18.43, Nicko van Someren wrote:

> As far as I can tell there is neither any generic way to bridge kernel
> events into the run-loop event system nor any good way to perform
> select type operations in a run loop. I think that there must be some
> way to do this which is used in the implementation of the NSTCPPort
> objects but I've no idea (a) how it works or (b) if it's applicable to
> serial ports.
>
> Given the above my suggestion would be for you to spawn a separate
> thread which makes blocking class to read and then passes the data
> back to the main run loop by calling
> performSelector:target:argument:order:modes: on the main run loop
> object.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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>
References: 
 >use of c select() style events with the objc run loop (From: Robert Goldsmith <email@hidden>)
 >Re: use of c select() style events with the objc run loop (From: Nicko van Someren <email@hidden>)

  • Prev by Date: Re: use of c select() style events with the objc run loop
  • Next by Date: loading content for NSTextView
  • Previous by thread: Re: use of c select() style events with the objc run loop
  • Next by thread: Re: use of c select() style events with the objc run loop
  • Index(es):
    • Date
    • Thread