Overview
| Artifact ID: | 8582c7439bd2d9ea0035874d810e7d1d7f9856f1f67be082449af715c78a5e8d |
|---|---|
| Ticket: | 055240025ab8553b45b39c5ef409286a7a4e8141
Calling Tcl_DeleteEventSource from inside Tcl_DoOneEvent segfaults |
| User & Date: | sebres on 2019-02-06 14:46:28 |
Changes
- icomment:
Hi Peter, although and of course the SF is always bad... But Tcl_DeleteEventSource does not removes the event, it removes the event source. Basically Tcl_CreateEventSource is used to register new source of events and Tcl_DeleteEventSource will used later to clean-up it (at end of thread/unload module/something similar). Both are normally not intended for usage like continuously create/delete. So what exactly is the case, resp. in which callback it exactly is at the moment as deletion occurs? Is it setupProc or checkProc (initially registered by Tcl_CreateEventSource) where you try to delete the source? Anyway I think I know what is may be, so will try to fix it (I believe I had already fixed this in my event-perf-branch'es).
- login: "sebres"
- mimetype: "text/plain"