diff options
| author | Austin Clements <amdragon@mit.edu> | 2011-06-11 00:42:58 -0400 |
|---|---|---|
| committer | David Bremner <bremner@debian.org> | 2011-09-24 20:00:28 -0300 |
| commit | 51c3c0b2d27c8d0ba8e1ae242fd907c59f82d992 (patch) | |
| tree | 57b117ffe9c30fdb9fa958d619825590963867fd /bindings/python/setup.py | |
| parent | 7a8046ced8c0e61ddd0ff463cfc17ed63e6edad3 (diff) | |
lib: Wrap notmuch_database_add_message in an atomic section.
Adding a message may involve changes to multiple database documents,
and thus needs to be done in a transaction. This makes add_message
(and, I think, the whole library) atomicity-safe: library callers only
needs to use atomic sections if they needs atomicity across multiple
library calls.
Diffstat (limited to 'bindings/python/setup.py')
0 files changed, 0 insertions, 0 deletions
