5 ms·
It is not disabled, as you think. It is secured by the internal code in Pack. Almost all parts of Pack are multithreaded.
by OttoCoddo 2y ago
It is not disabled, as you think. It is secured by the internal code in Pack. Almost all parts of Pack are multithreaded.
- raggi 2y agoit’s not safe to disable SQLite’s thread safety as you do here: https://github.com/PackOrganization/Pack/blob/main/Libraries/SQLite3/Build/Build.sh https://github.com/PackOrganization/Pack/blob/main/Libraries... and then do your own locking. You attempt to pass the flag at open time to enable serialized mode, however quoting the SQLite docs for the build flag you set: Note that when SQLite is compiled with SQLITE_THREADSAFE=0, the code to make SQLite threadsafe is omitted from the build. When this occurs, it is impossible to change the threading mode at start-time or run-time. SQLite’s APIs are often hazardous in these ways, it really should be erroring rather than silently ignoring the fullmutex flag, but alas.