Re: Continuously write content of log file to NSTextView
Re: Continuously write content of log file to NSTextView
- Subject: Re: Continuously write content of log file to NSTextView
- From: Bill Bumgarner <email@hidden>
- Date: Fri, 2 Dec 2005 08:27:57 -0800
On Dec 2, 2005, at 6:20 AM, Stephan Ruggiero wrote:
As Apple is not using tail for their Console.app there has to be a
way to get this running by using Obj-C only, but I still did not
find the solution.
Maybe someone could help me out with this?
Apple isn't using tail for Console.app because spawning processes is
just a terribly huge amount of overhead that is easily avoided
through other mechanisms.
Have a look at the kqueue mechanism. Uli K. has quite conveniently
wrapped the low level kqueue API with a nice set of Objective-C
classes. A google search for "UKKQueue" should reveal all.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden