Currently we have a wait_on to wait on an independent module. In some cases we don't want to wait, but just to run not in parallel with another module.
E. g. two separate save modules that write to the same hard disk. Write different files in parallel is slower then serially write them. In this case we don't care which modules writes first, the one who is first ready to run should win.
This can be done by a new module entry mutex analog to wait_on that takes an identifier. Multiple modules with the same mutex-identifier must not run in parallel.
Currently we have a
wait_onto wait on an independent module. In some cases we don't want to wait, but just to run not in parallel with another module.E. g. two separate save modules that write to the same hard disk. Write different files in parallel is slower then serially write them. In this case we don't care which modules writes first, the one who is first ready to run should win.
This can be done by a new module entry
mutexanalog towait_onthat takes an identifier. Multiple modules with the samemutex-identifier must not run in parallel.