Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dyn std::ops::FnMut() cannot be sent between threads safely #20 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alopatindev
Copy link

No description provided.

@rakshith-ravi
Copy link

rakshith-ravi commented Aug 11, 2020

@lholden can we have this merged and published to crates.io please?

@bellackn
Copy link

Seconding that @alopatindev - awesome crate, but this PR would make it even more awesome, @lholden! :) Tested it and this fixes it in my case:

    thread::spawn(move || {
        loop {
            schedule.tick();
            thread::sleep(std::time::Duration::from_secs(60));
        }
    });

BlackDex added a commit to BlackDex/job_scheduler that referenced this pull request Jun 1, 2022
- Updated the dependency versioning so that a later version of uuid is able to be used.
- Updated the documentation to point to this repo.
- Applied an upstream PR to this repo: lholden#21
@BlackDex
Copy link

This PR is implemented in https://crates.io/crates/job_scheduler_ng (with some minor changes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants