lholden / job_scheduler

A simple cron-like job scheduling library for Rust.
Apache License 2.0
196 stars 34 forks source link

Are there plans for reentrancy protection? #5

Open Boscop opened 6 years ago

Boscop commented 6 years ago

So that jobs aren't executed if they are still executing.

lholden commented 6 years ago

That shouldn't be too much of a problem right now as the execution of jobs are single threaded (not helpful if you are spawning threads yourself though).

I do intend to address both issues in the near future as I will be needing it for a project, but it will be a week or two before I can really dig into it. (Well, maybe I will feel inspired to work on it at my hotel room tonight :D)

Boscop commented 6 years ago

Ah right, I just noticed that it's single threaded, that's ok for my use case.