Make WindowBuilder Send + Sync
Window builder is always accessed by winit on the thread event loop is on, thus it's safe to mark the data it gets as `Send + Sync`. Each unsafe object is marked individually as `Send + Sync` instead of just implementing `Send` and `Sync` for the whole builder.
This commit is contained in:
parent
3ad64fb811
commit
801fddbfcf
14 changed files with 72 additions and 47 deletions
|
|
@ -36,6 +36,7 @@ And please only add new entries to the top of this list, right below the `# Unre
|
|||
- On Wayland, support `Occluded` event with xdg-shell v6
|
||||
- Implement `AsFd`/`AsRawFd` for `EventLoop<T>` on X11 and Wayland.
|
||||
- **Breaking:** Bump `ndk` version to `0.8.0`, ndk-sys to `0.5.0`, `android-activity` to `0.5.0`.
|
||||
- Make `WindowBuilder` `Send + Sync`.
|
||||
|
||||
# 0.29.1-beta
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue