• 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: Multiple Threaded Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Multiple Threaded Windows (From: Chris Scharver <email@hidden>)

  • Prev by Date: Re: Language names in UI
  • Next by Date: Re: Still problems with storing preferences
  • Previous by thread: Re: Multiple Threaded Windows
  • Next by thread: Re: Multiple Threaded Windows
  • Index(es):
    • Date
    • Thread