openhab / openhab-core

Core framework of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
930 stars 428 forks source link

[automation] Add support for synchronized execution of compiled scripts #4402

Closed florian-h05 closed 1 month ago

florian-h05 commented 1 month ago

If the ScriptEngine implements the Lock interface, the execution of the CompiledScript is synced by acquisition and release of the log. This is required for add-ons like JS Scripting.

florian-h05 commented 1 month ago

@J-N-K I adressed your review :+1:

florian-h05 commented 1 month ago

FYI this is for https://github.com/openhab/openhab-addons/pull/17510.

florian-h05 commented 1 month ago

Jenkins finally finished the PR build.