diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 18:40:33 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-06-20 11:18:35 +0200 |
commit | cd962710368b0ea0a4899cc5f70fcdf0d5f751f1 (patch) | |
tree | 3d6e0c256d086b20a998d38bb6599b1893dbe32b /source3/selftest | |
parent | 6b3f9ac0f878199ba0ab6855a65fda369e95ae27 (diff) | |
download | samba-cd962710368b0ea0a4899cc5f70fcdf0d5f751f1.tar.gz samba-cd962710368b0ea0a4899cc5f70fcdf0d5f751f1.tar.bz2 samba-cd962710368b0ea0a4899cc5f70fcdf0d5f751f1.zip |
source3/lib/util_tdb.c: operation timeout support for TDB2.
TDB2 doesn't have (the racy) signal pointer; the new method is to
override the locking callbacks and do the timeout internally.
The technique here is to invalidate the struct flock when the timeout
occurs, so it works even if it happens before we enter the fcntl() call.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'source3/selftest')
0 files changed, 0 insertions, 0 deletions