mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-13 06:23:47 +00:00
wayland: use arc-swap over Mutex for FOCUSED_APP for better concurrency
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id6b40d5c533c35dda5bce7b852b836f26a6a6964
This commit is contained in:
parent
aabf40ac6e
commit
fe86356399
3 changed files with 21 additions and 11 deletions
10
Cargo.lock
generated
10
Cargo.lock
generated
|
|
@ -88,6 +88,15 @@ version = "1.0.102"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
|
||||
|
||||
[[package]]
|
||||
name = "arc-swap"
|
||||
version = "1.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a07d1f37ff60921c83bdfc7407723bdefe89b44b98a9b772f225c8f9d67141a6"
|
||||
dependencies = [
|
||||
"rustversion",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "async-broadcast"
|
||||
version = "0.7.2"
|
||||
|
|
@ -2409,6 +2418,7 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
|
|||
name = "stash-clipboard"
|
||||
version = "0.3.6"
|
||||
dependencies = [
|
||||
"arc-swap",
|
||||
"base64",
|
||||
"blocking",
|
||||
"clap",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue