search for: tcl_load

Displaying 3 results from an estimated 3 matches for "tcl_load".

Did you mean: shl_load
2018 Jul 06
0
Re: [PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...mutexes to ensure that > multiple threads are not calling into the interpreter at the same > time. We do not have such a threading model in nbdkit (see also VDDK) > but at the same time I was not able to get Tcl to crash. > > The Tcl interpreter leaks quite a lot of memory from the tcl_load and > tcl_open calls. This may be connected with the previous point. It > makes valgrind fairly useless so it is disabled for Tcl. > --- > +=item C<is_rotational> > + > +(Optional) > + > + proc is_rotational {h} { > + return $bool > + } > + > +Retur...
2018 Jul 01
2
[PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...lies even if nbdkit uses mutexes to ensure that multiple threads are not calling into the interpreter at the same time. We do not have such a threading model in nbdkit (see also VDDK) but at the same time I was not able to get Tcl to crash. The Tcl interpreter leaks quite a lot of memory from the tcl_load and tcl_open calls. This may be connected with the previous point. It makes valgrind fairly useless so it is disabled for Tcl. --- .gitignore | 1 + README | 6 +- common-rules.mk | 1 + configure.ac |...
2018 Jul 01
2
[PATCH nbdkit] valgrind: Don't call dlclose when running under valgrind.
...kalloc.c:1145) ==2441== by 0x79329BA: Tcl_DStringSetLength (tclUtil.c:2819) ==2441== by 0x78BFAC0: Tcl_ExternalToUtfDString (tclEncoding.c:1155) ==2441== by 0x78C59C5: TclSetupEnv (tclEnv.c:124) ==2441== by 0x7841C4B: Tcl_CreateInterp (tclBasic.c:907) ==2441== by 0x75FA074: tcl_load (tcl.c:54) ==2441== by 0x40A5E2: plugin_register (plugins.c:750) ==2441== by 0x404436: open_plugin_so (main.c:740) ==2441== by 0x404436: main (main.c:565) --- README | 15 ++++++++++++--- configure.ac | 17 +++++++++++++++++ src/Makefile.am | 3 ++- src/filters.c | 3...