search for: tclkit

Displaying 5 results from an estimated 5 matches for "tclkit".

Did you mean: polkit
2016 Feb 25
2
Database left unlocked by Tcl bindings
...nd then run: > > ./a.out > > If locking is working, this should fail (and does for me) like so: > > terminate called after throwing an instance of 'Xapian::DatabaseLockError' > Aborted Got exactly that. Finally, it appears that it does work with Tcl 8.5 (actually a tclkit, but does not work with an 8.6 tclkit). Thanx, Eric -- ms fnd in a lbry
2016 Feb 24
4
Database left unlocked by Tcl bindings
On Wed, 24 Feb 2016 03:17:35 +0000, Olly Betts <olly at survex.com> wrote: >On Mon, Feb 22, 2016 at 12:26:27PM +0100, Eric wrote: >> On Sun, 21 Feb 2016 22:33:22 +0000, Olly Betts <olly at survex.com> wrote: >>> On Sun, Feb 21, 2016 at 02:15:25PM +0100, Eric J wrote: >>>> I discovered, while trying to set up Tcl bindings for Notmuch >>>>
2016 Feb 27
2
Database left unlocked by Tcl bindings
...cl but different processes with simpleindex. > > > > but the same problem happens from two different Tcl processes - both > > succeed because there is no lock. > > Ah, OK - I missed that detail. > > > Finally, it appears that it does work with Tcl 8.5 (actually a tclkit, > > but does not work with an 8.6 tclkit). > > I'm testing with Tcl 8.6 (Debian package 8.6.4+dfsg-3), and it works for > me. > > So it does seem it must be due to something your Tcl interpreter is > doing, but I'm struggling to think what that could be. > &gt...
2016 Feb 25
0
Database left unlocked by Tcl bindings
...by > > the same process in Tcl but different processes with simpleindex. > > but the same problem happens from two different Tcl processes - both > succeed because there is no lock. Ah, OK - I missed that detail. > Finally, it appears that it does work with Tcl 8.5 (actually a tclkit, > but does not work with an 8.6 tclkit). I'm testing with Tcl 8.6 (Debian package 8.6.4+dfsg-3), and it works for me. So it does seem it must be due to something your Tcl interpreter is doing, but I'm struggling to think what that could be. If O_CLOEXEC was set on the lock fd when ex...
2016 Mar 01
0
Database left unlocked by Tcl bindings
...lock. But we carefully close all other open fds before taking the >> lock to avoid that. > > I have tried Tcl 8.6.4 now, and it too has the problem. However with the > very new Tcl 8.6.5rc2 it works! I still intend to try to find out what > the problem was, but I can use the 8.5 tclkit for what I was doing when > this all started, and then move to 8.6.5 when it becomes a real release. After some more experiments, and some help from the Tcl side, I can now say that database locks from the Tcl bindings will not function correctly in the following Tcl versions: 8.5.18 built...