|
2009-05-04
| ||
| 07:21 | • Closed ticket [2511420fff]: thread-20.15 hangs plus 6 other changes artifact: a41cdddee6 user: ferrieux | |
| 06:17 | • Add attachment thr3.patch to ticket [2511420fff] artifact: 1889ead6ea user: ferrieux | |
| 06:17 | • Ticket [2511420fff] thread-20.15 hangs status still Open with 4 other change... artifact: 89aa7d62c9 user: ferrieux | |
| 06:07 | • Ticket [2511420fff]: 5 changes artifact: 8b8a929d0d user: ferrieux | |
|
2009-03-13
| ||
| 22:00 | • Ticket [2511420fff]: 4 changes artifact: 4913754ba8 user: ferrieux | |
| 21:24 | • Ticket [2511420fff]: 1 change artifact: 19ea61b37c user: dgp | |
| 21:24 | • Ticket [2511420fff]: 4 changes artifact: 4f73e505f4 user: dgp | |
|
2009-01-15
| ||
| 21:24 | • New ticket [2511420fff]. artifact: 6024fa04e9 user: dgp | |
thread-20.15 hangs
Closed / Fixed2511420fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-01-15 21:24:03
Test thread-20.15 hangs because the command thread::rwmutex destroy $rwmutex blocks forever.
dgpplain2009-03-13 21:24:01
Any chance someone can look into these? I'd like to consider Thread for bundling with Tcl 8.6, but failures like this make me think it's not ready.
dgp Ticket [2511420fff]: 1 change
[History diff]2009-03-13 21:24:02
ferrieuxplain2009-03-13 22:00:37
Given this, could we do a dichotomy with (1) The high level synchronization model (synchronous thread::send and eventloops) and (2) the trickier, low-level set of sync primitives (mutexes, r/w locks, condition vars) ? We could #ifdef out the script level exposition of (2), and bundle it ("Threads Lite" ?).
The idea is that (1) suffices for ~95% of uses of the Threads extension (otherwise the current bug would have been detected earlier), and as a consequence is much more "polished" than the lower half.
Just my $0.02...
ferrieuxplain2009-05-04 06:07:03
Well, in fact it was a simple refcount leak in the error case. Patch included.
ferrieuxplain2009-05-04 06:17:17
File Added - 325598: thr3.patch
ferrieuxplain2009-05-04 07:21:05
Committed after review by mistachkin.
Log in (anonymous is fine) to add a comment.
Attachments:
- thr3.patch [download] added by ferrieux on 2009-05-04 06:17:17. [details]