• Sebastian Sellmair's avatar
    Lock .skiko directory using lockfile when unpacking the native binary (#1128) · fbb08087
    Sebastian Sellmair authored
    In the compose hot reload project, we have seen races from multiple
    tests trying to unpack skiko into the .skiko directory. Currently, the
    library loading is only synchronized within the project. This MR also
    adds a .lock file, which has to be locked when modifying the dataDir.
    
    Note: This MR also changed the Library.load method from always entering
    a monitor, to resolving an atomic reference, best case.
    
    ## Release Notes
    ### Fixes - Desktop
    - Fixed a race condition that occurred when multiple processes attempted
    to unpack Skiko binary files at startup
    fbb08087
Name
Last commit
Last update
.github Loading commit data...
.run Loading commit data...
gradle/wrapper Loading commit data...
samples Loading commit data...
skiko Loading commit data...
.gitignore Loading commit data...
DEVELOPMENT.md Loading commit data...
LICENSE Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
dependencies.toml Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle.kts Loading commit data...