bug-gnustep
[Top][All Lists]
Advanced

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

Re: Recent drawing optimizations


From: Stefan Urbanek
Subject: Re: Recent drawing optimizations
Date: Tue, 01 Apr 2003 20:29:58 +0200

On 2003-04-01 17:13:29 +0200 Richard Frith-Macdonald <richard@brainstorm.co.uk> 
wrote:


On Tuesday, April 1, 2003, at 03:56  pm, Alexander Malmberg wrote:

The whole notion of mutiple threads explicitly or implicitly
interafaceing with the gui seems rather dangerous to me, but I guess
that shouldn't concern -gui.

I agree, I'm not certain that we should provide any thread-safety in
-gui at all. Eventually, it'll all have to be drawn in one thread
anyway. What did OPENSTEP do?

I'm fairly sure it said you must only access the appkit stuff from a single 
thread.


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?

Stefan






reply via email to

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