Re: Multiple Threaded Windows
Re: Multiple Threaded Windows
- Subject: Re: Multiple Threaded Windows
- From: Dustin Voss <email@hidden>
- Date: Thu, 9 Oct 2003 17:59:06 -0700
On Tuesday, October 7, 2003, at 11:25 AM, Chris Scharver wrote:
Hello,
Attempting to port a C-based windowing library to MacOS X via Cocoa, I
am having some trouble reconciling the library's existing thread
semantics with AppKit. In particular, the library creates a separate
thread for every window. The library's structure dictates this
behavior. These threads draw into those windows using OpenGL. They
also update events using native OS calls. I'm trying to get a native
Cocoa implementation running, and there are definitely some conflicts.
I think my problems are more specific to AppKit than OpenGL.
I don't think this is possible. You may be able to modify the library
so that it pre-computes the drawing as much as possible in the thread,
maybe with an OpenGL draw list or whatever that thing is called, but
then calls a method running on the main thread to actually draw it.
_______________________________________________
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.