
Fast, thread-safe wrapper for the File and Directory classes. Never worry about concurrent I/O again!The Thread-Safe IO package is a lightweight wrapper library that makes the default System.IO.File and System.IO.Directory namespaces thread-safe. By using thispackage, you can modify many files and directories simultaneously (concurrently, i.e. from many threads at the same time) without ever worrying about thread safety.Ease of UseTo use this package, simply replace your System.IO.File and System.IO.Directory calls with ProjectGamedev.IO.File and ProjectGamedev.IO.Directory.That's it! All your file and directory manipulations, such as loggers and save/load systems, are now thread-safe!SpeedSmart named locks ensure multiple files can be modified in parallel, greatly increasing IO speed compared to naive mutex (mutual exclusion) locking.Industrial-Grade Quality ControlAutomated tests guarantee the highest level of code correctness, with test coverage well above modern industrial standards (100% statement coverage vs 50-70% in the industry).Multithreaded correctness is guaranteed by load testing, where thousands of threads simultaneously modify files and directories without causing IO errors.Diverse Unity version support and OS-independence are tested by utilizing an industrial-grade continuous integration pipeline (CI pipeline) that runs Docker containers of various Unity versions on the cloud and executes the tests in each container.This allows the finding of errors that are not present on local machines, and guarantees the stability and repeatability of the tests.DocumentationYou can download the following document deliverables (.pdf files) concerning this asset (also included in the package):Official Software Requirements Specifications documentOffline DocumentationTest PlanAPIFor further information, visit the tool's page on our website.For further technical details, visit the tool's documentation page.Supported OS:All OS supported by the System.IO namespace.Supported Unity versions:All versions starting from 2021.3, including Unity 6+.Asset has been explicitly tested on 2021 LTS, 2022 LTS, and Unity 6 LTS.For further technical details, visit the tool's documentation page.