-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jsscripting] Fix multi-threading issues in UI-based scripts (#17510)
* [jsscripting] Make logger non-static * [jsscripting] Log lock acquisition and release * [jsscripting] Implement Lock in DebuggingGraalScriptEngine so openHAB Core can lock and unlock when executing the pre-compiled script * [jsscripting] Improve comments in ThreadsafeTimers * [jsscripting] Add a short sleep after unlocking the lock to fix multi-threading issues with UI-based scripts Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
- Loading branch information
1 parent
a6bb537
commit e6056d3
Showing
3 changed files
with
75 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters