| Summary: | Remove polling from 1.3 event queue. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Ryan C. Gordon
2010-04-14 00:12:20 UTC
This seems largely impractical. Windows and XInput both require you to poll for events internally, anyway. How much do you think that polling over a non-polling system really costs? (In reply to comment #1) > This seems largely impractical. Windows and XInput both require you to poll for > events internally, anyway. That's not true. > How much do you think that polling over a non-polling system really costs? On desktops? Not much. On laptops: more than you'd like. On cell phones: a lot. --ryan. Ryan, do you have this patch handy? I'm hoping to do the mutex-free event queue soon and if you want to go for this, now's a good time. |