Check-in [26cb3c7596]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Revision through web from Andreas Leitgeb <avl@logic.at> added reference to fossil branch.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:26cb3c7596ac20192ca64fa65471dcd6dd660a3dd0195a08f6a4d3935f8ce493
User & Date: tclhttpd 2017-07-16 21:04:02
Context
2017-09-06
14:15
Clean-up CVS import check-in: dce4aef4b9 user: mjanssen tags: trunk
2017-07-16
21:04
Revision through web from Andreas Leitgeb <avl@logic.at> added reference to fossil branch. check-in: 26cb3c7596 user: tclhttpd tags: trunk
2017-07-11
21:13
Accepted 8/0/0 For: JE, DKF, AF, JH, KBK, SL, JN, DGP Against: none Present: none check-in: ee02489b72 user: dkf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tip/469.tip.

1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
..
69
70
71
72
73
74
75


76
77
78
79
80
81
82
83
84
TIP:		469
Title:		A Callback for Channel-Exception Conditions
Version:	$Revision: 1.2 $
Author:		Andreas Leitgeb <avl@logic.at>
State:		Draft
Type:		Project
Tcl-Version:	8.7
Vote:		Pending
Created:	16-Apr-2017
Post-History:	
Keywords:	Tcl, event handling


~ Abstract

This TIP proposes to extend the '''fileevent''' Tcl command to also accept the
keyword '''exception''' for its second argument. This will allow to register a
callback for the specific event that the OS reports an exception on the
channel, while ignoring read- or writability.
................................................................................
~ Compatibility

No incompatibilities are introduced.

~ Reference Implementation

A really bare-bones reference implementation is available as a patch


[http://paste.tclers.tk/4231].  A thus-patched tclsh can successfully wait for
input-level changes on TIP-author's "nano-pi" raspberryPI-like platform with a
chipset not yet supported by piio.

Documentation and test updates yet to be done.

~ Copyright

This document has been placed in the public domain.
|
|
|
|
|
|
<
|
|
|
|
>







 







>
>
|
|
|






1
2
3
4
5
6

7
8
9
10
11
12
13
14
15
16
17
18
..
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
TIP:            469
Title:          A Callback for Channel-Exception Conditions
Version:        $Revision: 1.3 $
Author:         Andreas Leitgeb <avl@logic.at>
State:          Draft
Type:           Project

Vote:           Pending
Created:        16-Apr-2017
Post-History:   
Keywords:       Tcl,event handling
Tcl-Version:    8.7

~ Abstract

This TIP proposes to extend the '''fileevent''' Tcl command to also accept the
keyword '''exception''' for its second argument. This will allow to register a
callback for the specific event that the OS reports an exception on the
channel, while ignoring read- or writability.
................................................................................
~ Compatibility

No incompatibilities are introduced.

~ Reference Implementation

A really bare-bones reference implementation is available as a patch
[http://paste.tclers.tk/4231]. Also, a branch named tip-469 in fossil has been created: [https://core.tcl.tk/tcl/timeline?r=tip-469].

A thus-patched tclsh can successfully wait for input-level changes
on TIP-author's "nano-pi" raspberryPI-like platform with a chipset
not yet supported by piio.

Documentation and test updates yet to be done.

~ Copyright

This document has been placed in the public domain.