• 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
Question on passing events to multithreaded OpenGL apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on passing events to multithreaded OpenGL apps


  • Subject: Question on passing events to multithreaded OpenGL apps
  • From: John Richardson <email@hidden>
  • Date: Mon, 26 Sep 2016 19:21:17 +0000
  • Dkim-filter: OpenDKIM Filter v2.10.3 cns2sd.spawar.navy.mil u8QJNhN8020578

Hello,

 

From the Openscenegraph mailing list. Not sure what is appropriate forum or if there is an answer such as a workaround.

 

Is this sort of an enhancement request for Apple or a bug report to Apple?

 

======================

 

This issue with OSX is one we can't workaround, it's very much tied into how OSX passes events from the OS onto applications.  We hit against this issue when implementing osgViewer and trying to get the multi-thread, mulit-context side work.  There isn't anyway to tell OSX to give events to a thread other than the main one, the only way to handle it is to catch all the events in the main thread and pass them on to other threads to handle.  It's a pretty frustrating limitation, no doubt you like many others, including myself have torn hair over this limitation, alas there it's futile, you just have to work how Apple wants you to write your applications even when it doesn't make much sense for certain type of applications.

 

=====================

 

John

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Slow Window Resizing on XCode 8
  • Next by Date: A script to click the "Files with source-control status" button in Xcode
  • Previous by thread: Re: Slow Window Resizing on XCode 8
  • Next by thread: A script to click the "Files with source-control status" button in Xcode
  • Index(es):
    • Date
    • Thread