usenix conference policies
PtTcl: Using Tcl with Pthreads
Authors:
D. Richard Hipp, Hwaci; Mike Cruse, CTI, Ltd.
Abstract:
Tcl is not thread-safe. If two or more threads attempt to use Tcl at the same time, internal data structures can be corrupted and the program can crash. This is true even if the threads are using separate Tcl interpreters.
PtTcl is a modification to the Tcl core that makes Tcl safe to use with POSIX threads. With PtTcl, each thread can create and use its own Tcl interpreters that will not interfere with interpreters used in other threads. A message-passing mechanism allows Tcl interpreters running in different treads to communicate. However, even with PtTcl, the same interpreter still cannot be accessed by more than one thread.
This paper describes the design, implementation and use of PtTcl.
BibTeX
@inproceedings {260924,
author = {D. Richard Hipp and Mike Cruse},
title = {{PtTcl}: Using Tcl with Pthreads},
booktitle = {5th Annual Tcl/Tk Workshop 1997 (5th Annual Tcl/Tk Workshop 1997)},
year = {1997},
address = {Boston, MA},
url = {https://www.usenix.org/conference/5th-annual-tcltk-workshop-1997/pttcl-using-tcl-pthreads},
publisher = {USENIX Association},
month = jul
}
author = {D. Richard Hipp and Mike Cruse},
title = {{PtTcl}: Using Tcl with Pthreads},
booktitle = {5th Annual Tcl/Tk Workshop 1997 (5th Annual Tcl/Tk Workshop 1997)},
year = {1997},
address = {Boston, MA},
url = {https://www.usenix.org/conference/5th-annual-tcltk-workshop-1997/pttcl-using-tcl-pthreads},
publisher = {USENIX Association},
month = jul
}
connect with us