Tcl package Thread source code

View Ticket
Login
2024-12-16
13:15
Fix [f32864af] - thread::eval hang check-in: e182ce32b1 user: apnadkarni tags: thread-2-branch
13:13
Fix [f32864af] - thread::eval hang check-in: 4b531c66e6 user: apnadkarni tags: thread-2-8-branch
13:04 Closed ticket [f32864afe3]: Hang in thread:eval plus 6 other changes artifact: 3093a9ab34 user: apnadkarni
13:02
Fix [f32864af] - thread::eval hang check-in: 578ae1c881 user: apnadkarni tags: trunk, main
2024-12-15
06:03 Ticket [f32864afe3] Hang in thread:eval status still Open with 3 other changes artifact: 0f04b1c7bb user: apnadkarni
06:02
Proposed fix for [f32864af] Closed-Leaf check-in: a3d5e61d26 user: apnadkarni tags: bug-f32864af
2024-12-14
17:26 New ticket [f32864afe3] Hang in thread:eval. artifact: 3b8b77427d user: apnadkarni

Ticket UUID: f32864afe385ea00a9f86bb1691bb22b0b27b871
Title: Hang in thread:eval
Type: Bug Version: 3.0.1
Submitter: apnadkarni Created on: 2024-12-14 17:26:25
Subsystem: - New Builtin Commands Assigned To: nobody
Priority: 5 Medium Severity: Severe
Status: Closed Last Modified: 2024-12-16 13:04:04
Resolution: Fixed Closed By: apnadkarni
    Closed on: 2024-12-16 13:04:04
Description:
The following script hangs:
----
package require Thread
set mu [thread::mutex create]
thread::eval -lock $mu {puts foo}
thread::mutex destroy $mu
----

As far as I can tell from the documentation, the above should be a valid script. I don't the package well enough so could be pilot error.
User Comments: apnadkarni added on 2024-12-16 13:04:04:
Fixed in [578ae1c881]

apnadkarni added on 2024-12-15 06:03:12:
Proposed fix in branch bug-f32864af.