You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.8 Reported for operating system, platform: Mac OS X (All), x86_64
Comments on the original bug report:
On 2018-09-28 00:00:59 +0000, Daniel Bokser wrote:
Created attachment 3320
Simple program with SDL Renderer on main thread and OpenGL on another
On Mojave and Xcode 10, my program hangs after a few seconds when rendering using an SDL Renderer on the main thread and using OpenGL on another. I have attached a simple program that demonstrates this. Looks like both thread are stuck on [nsContext flushBuffer] in Cocoa_GL_SwapWindow() in SDL_cocoaopengl.m. This is with Ryan's fix on https://bugzilla.libsdl.org/show_bug.cgi?id=4272
This program works fine when compiling with Xcode 9.
On 2018-10-19 03:39:10 +0000, Ryan C. Gordon wrote:
Mojave appears to have a deadlock if you swap two separate windows/contexts from two separate threads at the same time; I stuck a mutex around our swap code which appears to fix it.
On 2018-10-23 03:48:59 +0000, Daniel Bokser wrote:
Thank you! This fixed the deadlock issue for me. However, my SDL project is still not completely fixed in Mojave. I have opened up another issue here: https://bugzilla.libsdl.org/show_bug.cgi?id=4329
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.8
Reported for operating system, platform: Mac OS X (All), x86_64
Comments on the original bug report:
On 2018-09-28 00:00:59 +0000, Daniel Bokser wrote:
On 2018-10-19 03:39:10 +0000, Ryan C. Gordon wrote:
On 2018-10-23 03:48:59 +0000, Daniel Bokser wrote:
The text was updated successfully, but these errors were encountered: