Skip to content

Requiring 'static for FilesystemMT seems too strict #26

@pedrocr

Description

@pedrocr

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions