| Summary: | SDL_WM_SetCaption() in timer cause crash | ||
|---|---|---|---|
| Product: | SDL | Reporter: | yoch.melka |
| Component: | timer | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.2.14 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | this program crash after some time | ||
The timers run in a separate thread, so it's not safe to call any video functions from them. Instead you can post an event using SDL_PushEvent() and have your main thread do the change. OK, thanks ! |
Created attachment 587 [details] this program crash after some time Hello, I use a SDL_WM_SetCaption() function in timer, the program crashes after a while with the message: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"... [translation robot]