Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/public-domain/sqlite Reenable threadsafe sqlite.
details: https://anonhg.NetBSD.org/src/rev/8cce37018231
branches: trunk
changeset: 951542:8cce37018231
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Feb 05 21:48:52 2021 +0000
description:
Reenable threadsafe sqlite.
Do it properly and only enable thread-safety, but not the worker thread
support. The latter is what requires the whole libpthread dependency.
A potential compromis would be to use a weak pthread_create and only
enable worker threads if it is provided, but given that it is only
really used for large sorts, don't bother for now.
diffstat:
external/public-domain/sqlite/Makefile.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 07dfcda673c0 -r 8cce37018231 external/public-domain/sqlite/Makefile.inc
--- a/external/public-domain/sqlite/Makefile.inc Fri Feb 05 21:45:24 2021 +0000
+++ b/external/public-domain/sqlite/Makefile.inc Fri Feb 05 21:48:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.10 2020/11/12 17:53:43 nia Exp $
+# $NetBSD: Makefile.inc,v 1.11 2021/02/05 21:48:52 joerg Exp $
WARNS= 2
@@ -15,6 +15,7 @@
-DHAVE_STRERROR_R=1 \
-DHAVE_USLEEP=1 \
-DHAVE_SYS_ENDIAN_H=1 \
+ -DSQLITE_THREADSAFE \
-DSQLITE_MAX_WORKER_THREADS=0 \
-DSQLITE_ENABLE_COLUMN_METADATA \
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
Home |
Main Index |
Thread Index |
Old Index