8000 Message boxes on background threads... · Issue #12943 · libsdl-org/SDL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Message boxes on background threads... #12943
Open
@icculus

Description

@icculus

I moved iOS's messagebox to SDL_RunOnMainThread() to fix #12741. I'm wondering if we should move this to the higher level and do all message boxes on the main thread, regardless of platform.

It'll probably save some misery on new platforms, and I suspect there are several of these lesser-used platforms (RiscOS, PSP, etc) where this is likely failing/crashing in background threads anyhow and no one has yet noticed.

It also guarantees the SDL event queue is blocked until the message box finishes, which is (probably...?) desirable.

I haven't thought through all the ramifications, though. Just posting here for further consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0