| Summary: | Child thread wait for events stops main thread | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ron Howe <drdhowe> |
| Component: | thread | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Program is minimal main display thread and child event thread | ||
|
Description
Ron Howe
2009-06-24 06:22:00 UTC
SDL_PollEvent() and SDL_WaitEvent() can only be called from the thread that initialized the video subsystem. Other threads should be using SDL_PeepEvents() (which doesn't process events, just returns any that were previously queued) |