You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to keep a reference to part of my FilesystemMT implementation to be able to have concurrent threads managing state (e.g., sync to disk every X seconds). The signature of FuseMT::new() requires 'static which makes this harder to do. Would it make sense to use crossbeam::scope or something similar to allow having both the fuse_mt and implementation threads run properly scoped?
The text was updated successfully, but these errors were encountered:
It seems to work fine and shouldn't actually be all that unsafe but it would be nice if there was some standard way of having helper threads controlled by the implementation to do housekeeping tasks in the background.
I'm trying to keep a reference to part of my
FilesystemMT
implementation to be able to have concurrent threads managing state (e.g., sync to disk every X seconds). The signature ofFuseMT::new()
requires'static
which makes this harder to do. Would it make sense to usecrossbeam::scope
or something similar to allow having both the fuse_mt and implementation threads run properly scoped?The text was updated successfully, but these errors were encountered: