• 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: Kernel Events from Cocoa (Was Re: Detecting timezone changes?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel Events from Cocoa (Was Re: Detecting timezone changes?)


  • Subject: Re: Kernel Events from Cocoa (Was Re: Detecting timezone changes?)
  • From: Nicko van Someren <email@hidden>
  • Date: Tue, 4 May 2004 14:44:19 +0100

On 4 May 2004, at 14:15, p3consulting wrote:

define straightforward ;)

Err, some means that does not involve me spawning a new thread :-)

Since the "classic" kevent code:
...
is blocking, it has to be done in a separate thread...
and then deliver the events to the main loop using
- (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg
waitUntilDone:(BOOL)wait
or any other message passing technique...

OK. I'll do it that way.

(lot of threads in this list regarding this particular topic).

Yup, I worked out message massing a little while back. I was just hoping there might be a way to map kernel events into RunLoop events.

Cheers,
Nicko
_______________________________________________
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: 
 >Detecting timezone changes? (From: m <email@hidden>)
 >Re: Detecting timezone changes? (From: p3consulting <email@hidden>)
 >Re: Detecting timezone changes? (From: p3consulting <email@hidden>)
 >Kernel Events from Cocoa (Was Re: Detecting timezone changes?) (From: Nicko van Someren <email@hidden>)
 >Re: Kernel Events from Cocoa (Was Re: Detecting timezone changes?) (From: p3consulting <email@hidden>)

  • Prev by Date: Re: ANN:a long desired feature comes into OCSmart Hacks
  • Next by Date: Re: ANN:a long desired feature comes into OCSmart Hacks
  • Previous by thread: Re: Kernel Events from Cocoa (Was Re: Detecting timezone changes?)
  • Next by thread: Changing NSImage resolution - or display it at pixel size
  • Index(es):
    • Date
    • Thread