[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Thread cursor sharing
- To: openldap-technical@openldap.org
- Subject: Re: Thread cursor sharing
- From: Kristoffer Sjögren <stoffe@gmail.com>
- Date: Wed, 1 Jul 2015 21:36:20 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=kZBmXX7iLgQOqWE9aC/j/rlh8/D/4ZUa2ZwkJP3HN/I=; b=yEKuDubx3mTTi5bZ1xqjG/WVbBSdm6grQXuCrtFde6XxoM9iVkTAb73HZWLfMFD7fN dww3tE2G9YchMBSLBudmirbTYovIfUp02JQ8QL0Rw60AW/AFc9ZnKk7kpP9eqkqXw7cg cBDUbQIFkcM3Rbxa5GQxeXfyFnAYmdmU+yOKLEeP5lossQP43k15Hz30fgB08JhrIuva agMPQVZqxXVGlf75xjKu4VWXd1vLac3qv8bMH5Oz7qTHy6T/hCMRdA2tWAC36Lhh9NuE TTHJlK3Ov7kEuE66gJbBn9aR0twsfT0XIoCMkZuKcB7bXQqQIjBZIG/WdE/QqfpI6Fxz Ptow==
- In-reply-to: <CADSBNAihtRo-N+GRzX3KnOW17kF4aj_F8GFqfPdFFKODLH0Ywg@mail.gmail.com>
- References: <CADSBNAihtRo-N+GRzX3KnOW17kF4aj_F8GFqfPdFFKODLH0Ywg@mail.gmail.com>
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@gmail.com> wrote:
> Hi
>
> Simple question, is thread cursor sharing allowed?
>
> Cheers,
> -Kristoffer