OriginalBugID: 3828 Bug
Version: 1.3
SubmitDate: '1999-12-09'
LastModified: '1999-12-09'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Solaris
OSVersion: Solaris (SunOS 5.6)
Machine: Sparc Station 5, Ultra 5 & Ultra 10
FixedDate: '2000-10-25'
ClosedDate: '1999-12-09'
Name:
LAUMOND Marc
ReproducibleScript:
parray tcl_platform
=> there is no "tcl_platform(threaded) = 1" element
=> The libtcl.8.2.so library included in the TclPro1.3 binary package is not compiled with the "--enable-threads" option.
ObservedBehavior:
I develop a reentrant Tcl extension wich makes use of several threads to handle with some external events. This Tcl extension is likely to be used in multi-threaded processes, each thread possibly having one or more Tcl_Interp. Each event has to be queued in the Tcl_EventQueue of the thread associated to the target Tcl_Interp.
With the current libtcl8.2.so of TclPro, it is not possible to have a good behaviour for Tcl_ThreadAlert(), Tcl_ThreadQueueEvent() or Tcl_GetCurrentThread()...
WORKAROUND: I use a libtcl8.2.so library built from the public tcl/tk sources and compiled with the "--enable-threads" option.
DesiredBehavior:
parray tcl_platform
=> tcl_platform(thraeded) = 1
This is not a bug, the TclPro build is not intended to be built
with threads. If the user purchases the system, we will provide
binaries, or the user can roll their own, as mentioned in the
work-around. Threads are not default, because most people would
not want them, and it won't work with Tk on Unix systems.
-- 12/09/1999 hobbs
|