summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/common/tdb_private.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-07 06:59:02 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:42 +0100
commit2cb22d93ae0eef86a4bcf0fe5f7fb138e43db880 (patch)
tree3e49b118d890235da51b85a9b2175a13fa5be936 /source4/lib/tdb/common/tdb_private.h
parent27c9f6c235c3c625f4c4e60a73d8f2e86bd4a186 (diff)
downloadsamba-2cb22d93ae0eef86a4bcf0fe5f7fb138e43db880.tar.gz
samba-2cb22d93ae0eef86a4bcf0fe5f7fb138e43db880.tar.bz2
samba-2cb22d93ae0eef86a4bcf0fe5f7fb138e43db880.zip
r25892: Keep the tdb code in sync between 3.2.x and 4.0.
Add in the alarm fix to allow locks to exit on alarm signal. Sync up the changes in tools. Jeremy. (This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
Diffstat (limited to 'source4/lib/tdb/common/tdb_private.h')
-rw-r--r--source4/lib/tdb/common/tdb_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/tdb_private.h b/source4/lib/tdb/common/tdb_private.h
index 99fa4434c0..00bd0eb537 100644
--- a/source4/lib/tdb/common/tdb_private.h
+++ b/source4/lib/tdb/common/tdb_private.h
@@ -28,6 +28,7 @@
#include "system/time.h"
#include "system/shmem.h"
#include "system/select.h"
+#include "system/wait.h"
#include "tdb.h"
#ifndef HAVE_GETPAGESIZE
@@ -162,6 +163,7 @@ struct tdb_context {
int page_size;
int max_dead_records;
bool have_transaction_lock;
+ volatile sig_atomic_t *interrupt_sig_ptr;
};