mirror of
https://github.com/alacritty/alacritty
synced 2024-09-29 04:23:53 +00:00
a91a3f2dce
There was a lot of complexity around the threadsafe `Flag` type and waking up the event loop. The idea was to prevent unnecessary calls to the glutin window's wakeup_event_loop() method which can be expensive. This complexity made it difficult to get synchronization between the pty reader and the render thread correct. Now, the `dirty` flag on the terminal is also used to prevent spurious wakeups. It is only changed when the mutex is held, so race conditions associated with that flag shouldn't happen. |
||
---|---|---|
copypasta | ||
docs | ||
font | ||
res | ||
scripts | ||
src | ||
tests | ||
.agignore | ||
.gitignore | ||
.travis.yml | ||
alacritty.yml | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
README.md | ||
rustc-version | ||
TASKS.md |