Undocumented public APIs, Notifier
Closed / Fixed414933ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 20 years ago
Descriptionplain2001-04-09 16:19:50
The following public APIs of the tcl core are not documented Tcl_SetNotifier (generic/tclNotify.c) Tcl_ServiceModeHook (mac/tclMacNotify.c) Tcl_ServiceModeHook (unix/tclUnixNotfy.c) Tcl_ServiceModeHook (win/tclWinNotify.c)
kennykbplain2001-04-09 23:45:35
Logged In: YES user_id=99768 Oh $env(LC_DEITY), what a kludge. Tcl_SetNotifier goes and patches the Stubs table. Do we really want to export that? It's a special hack for the Plugin. I'd say we'd better clean it up before we expose it to ordinary users. There's no reason for user code ever to call Tcl_ServiceModeHook. Any objections to renaming it to TclServiceModeHook and moving it to tclInt.h?
davygrvyplain2001-12-14 17:53:50
Logged In: YES user_id=7549 A few more note on Tcl_SetServiceMode() would be nice. Maybe it's me, but I just don't understand *Why* one would want to discard (at least on windows) windows messages as they arrive... I should test it more deeply for my own selfish understanding.
dgp Ticket [414933ffff]: 1 change
[History diff]2003-04-14 11:09:45
kennykbplain2003-04-15 04:11:19
Logged In: YES user_id=99768 What we need is a TIP to make these APIs private and rename them to TclSetNotifier, etc. I can't imagine why they were exported to the public API in the first place.
andreas_kupriesplain2003-04-15 04:17:19
Logged In: YES user_id=75003 My guess is that it is to support merging of the Tcl eventloop with an external eventloop in a custom notifier.
dgp Ticket [414933ffff]: 1 change
[History diff]2003-11-13 08:46:53
kennykb Closed ticket [414933ffff].
[History diff]2007-04-20 11:44:39
Log in (anonymous is fine) to add a comment.