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
Suppose, a job takes longer time than usual & then the next thread opens for the new job. In this situation there could be an overlapping. I want to avoid this to happen.
A situation like this:
Is there a property available to set in a job such that it disallow overlapping of the 2 jobs?
I think I can protect this by having Mutex for a local data type.
And in case of using a DB (with drivers normally having states as Mutex type), I need to maintain a field there that locks when something is running inside a Job & then release lock (& thereby change the state) when done.
Suppose, a job takes longer time than usual & then the next thread opens for the new job. In this situation there could be an overlapping. I want to avoid this to happen.
A situation like this:
Is there a property available to set in a job such that it disallow overlapping of the 2 jobs?
Expecting a code like this:
The text was updated successfully, but these errors were encountered: