Make futexes cancellable by pthreads

This commit is contained in:
Justine Tunney 2022-11-04 18:19:05 -07:00
parent 2278327eba
commit 022536cab6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
101 changed files with 627 additions and 391 deletions

View file

@ -17,4 +17,5 @@ LOCAL CHANGES
- Added `--strace` system call tracing flag to SQLite shell
- Added `--strace` function call logging flag to SQLite shell
- Configured fsync() using runtime magnums rather than ifdefs
- Modify preprocessor macro for enabling pread() and pwrite()
- Save and restore errno in some places to avoid log pollution

View file

@ -84,7 +84,7 @@
#endif
/* Use pread() and pwrite() if they are available */
#if defined(__APPLE__) || defined(__COSMOPOLITAN__)
#if defined(__APPLE__) || defined(__COSMOPOLITAN__) /* [jart] */
# define HAVE_PREAD 1
# define HAVE_PWRITE 1
#endif

View file

@ -126,7 +126,7 @@ THIRD_PARTY_SQLITE3_FLAGS = \
-DSQLITE_HAVE_C99_MATH_FUNCS \
-DSQLITE_ENABLE_MATH_FUNCTIONS \
-DSQLITE_ENABLE_JSON1 \
-DSQLITE_ENABLE_DESERIALIZE \
-DSQLITE_ENABLE_DESERIALIZE
ifeq ($(MODE),dbg)
THIRD_PARTY_SQLITE3_CPPFLAGS_DEBUG = -DSQLITE_DEBUG