Thanks for the great docs Howard and sorry, i'm an idiot.
The docs clearly state that "Cursors may not span transactions" in
case of MDB_NOTLS.
Good documentation is rare unfortunately, which brought me into the
bad habit of not reading it thoroughly.
On Wed, Jul 1, 2015 at 9:36 PM, Kristoffer Sjögren <stoffe(a)gmail.com> wrote:
Sorry, the docs clearly state that "transaction and its cursors
must
only be used by a single thread".
But, it seems that transactions can be shared between threads whereas
cursors cannot. A cursor created by a shared transaction seems fine?
On Wed, Jul 1, 2015 at 9:23 PM, Kristoffer Sjögren <stoffe(a)gmail.com> wrote:
> Hi
>
> Simple question, is thread cursor sharing allowed?
>
> Cheers,
> -Kristoffer