Uh oh!
There was an error while loading. Please reload this page.
remove Sync requirement from NotificationHandler - #167
Conversation
BillyDM
commented
Feb 19, 2022
Also, I made |
wmedrano
commented
Feb 21, 2022
I'll have to double check that this is valid. If this is not valid, then you will probably have to use a |
Be-ing
commented
Feb 22, 2022
I have also stumbled over this. |
Due to #104 I made a small test function: fnthread_init(&self, _:&Client){info!("thread_init enter {:?}", thread::current().id());
thread::sleep(Duration::from_secs(1));info!("thread_init exit {:?}", thread::current().id());}..which gives the following output: .. which reveals two threads (7 and 8) to be running
I think the #121 findings should be investigated thoroughly before concluding that only a single method of the The findings also makes me wonder whether it is safe to have And in general I think the point that jack has 2 (or is pipewire a 3rd?) implementations also needs to be considered. |
wmedrano
commented
Mar 5, 2025
+1 to @xkr47. I think its fine to support Who knows when I'll get time for this but, roughly
|
Sorry for not going into @BillyDM's original question earlier; I use |
crop2000
commented
May 29, 2025
@xkr47 do you think that the original issue is still a problem because i can use std::mpsc::senders in notification handlers directly: https://github.com/crop2000/jack_notifications_rs/blob/ea1e57ea7d2a62c36a96dd0bd01b5956ba0ba267/src/lib.rs#L128 |
The
Syncrequirement onNotificationHandleris unecessary, and it is preventing me from storing anmpsc::Senderin my struct.