[PATCH 06/14] pytdb: Add support for tdb_transaction_start_nonblock()

Jelmer Vernooij jelmer at samba.org
Sat Oct 2 14:40:34 MDT 2010


On Sat, 2010-10-02 at 17:43 +0400, Kirill Smelkov wrote:
> From: Kirill Smelkov <kirr at mns.spb.ru>
> 
> Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
> ---
>  lib/tdb/pytdb.c                |    9 +++++++++
>  lib/tdb/python/tests/simple.py |    9 +++++++++
>  2 files changed, 18 insertions(+), 0 deletions(-)
I wonder if it would make sense to have this as a optional argument to
transaction_start(), e.g.

tdb.transaction_start(blocking=False)

What do you think?

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101002/63392580/attachment.pgp>


More information about the samba-technical mailing list