Overview
| Artifact ID: | 18eed8d12cbb341f1ad9eb91d50998c249de41b0 |
|---|---|
| Ticket: | 3608957fffffffffffffffffffffffffffffffff
Events posted by Tcl_QueueEvent linger in queue |
| User & Date: | sbron on 2013-03-24 16:15:27 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
My C library posts an event via Tcl_QueueEvent when the app receives a signal (like SIGHUP). When using the library with a non-threaded tclsh, the event is picked up by the event loop and processed almost immediately. However, with a threaded tclsh nothing happens until some other event occurs. At that time the queued events and the other event are all processed. Is this the intended behavior? Issue found on OpenSUSE 12.3 (linux 3.7.10) 64-bit. I have attached the stripped down sources for a library that reproduces the problem. Run the script and send a SIGHUP to the process. Observe that with a non-threaded tclsh the script reports "signal" immediately. With a threaded tclsh the "signal" report comes out just before the "Boo!".
- foundin changed to: "current: 8.6.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "sbron"
- subsystem changed to: "01. Notifier"
- title changed to: "Events posted by Tcl_QueueEvent linger in queue"
- type changed to: "Bug"