Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.65k stars 465 forks source link

fix documentation on EventPump #1391

Closed evmar closed 2 weeks ago

evmar commented 2 months ago

EventPump is thread-safe in the sense that it ensures it's only created on the main SDL thread to enforce invariants required by SDL, but it's not thread-safe is the usual meaning of "can be safely accessed from multiple threads".

Fixes #835.