bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent drawing optimizations


From: Alexander Malmberg
Subject: Re: Recent drawing optimizations
Date: Tue, 01 Apr 2003 22:47:14 +0200

Stefan Urbanek wrote:
> I have found that there is NSApplication 
> + (void)detachDrawingThread:(SEL)selector toTarget:(id)target
> withObject:(id)argument.
> 
> What is its purpose? Should not it be, that this method will
> create another thread, and appkit will be aware of that tread
> so it can perform drawing operations?

According to the documentation, it's a wrapper for NSThread
+detachNewThreadSelector:toTarget:withObject: that automatically creates
an autorelease pool for the new thread. The name seems misleading.

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]