Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_DoOneEvent problems with Posix-Threads

Closed / Fixed218255ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:06
OriginalBugID: 2918 Bug
Version: 8.2
SubmitDate: '1999-09-27'
LastModified: '1999-11-11'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Linux-SuSE
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-11-11'


Name: Christian Walling

ReproducibleScript:
for ( ; ; ) {
  Tcl_DoOneEvent(0);
}

ObservedBehavior:
The given Mainloop works fine in a normal C++ Program, but if it is run
as a seperate thread (i.e with pthread_create) the CPU-Load is at about
98% (Pentium II 350 MHz).

DesiredBehavior:
Is there any workaround for this problem ?

Interpreters are designed to work one/thread.  This appears to
try and split one interp in two threads. 
-- 11/11/1999 hobbs
welch Closed ticket [218255ffff]. [History diff]2000-10-26 08:17:56
Log in (anonymous is fine) to add a comment.