Overview
| Artifact ID: | 0ddd11416646ca253d7b280103c0f1a1ac554371 |
|---|---|
| Ticket: | 32ae34e63a3db0a542a6795594914baa1f231007
[chan copy] reflected channel segfault |
| User & Date: | dgp on 2015-08-13 16:52:35 |
Changes
- icomment:
Latest commit to the branch has a new test demonstrating another variation of trouble with the [driver watch] interface. The ReflectWatch routine checks whether there's any change in the interest mask from what's already in place, and if not, it bails without calling [driver watch]. This demands an interface, then, where a single call to [driver watch] sets up some continuing sequence of [chan postevent] calls whenever conditions on the reflected channel warrant. Since [driver watch] has to return too, this pretty much insists on some recurring event handler scheme, and that leaves no(?) choice but timer events via [after]. Seems like it would be simpler to have all ReflectWatch calls get reflected in a [driver watch] evaluation for a file-events-only driven mechanism of continued production of events.
- login: "dgp"
- mimetype: "text/plain"