Home | History | Annotate | Download | only in runtime

Lines Matching refs:events

17 // events for that descriptor. When doing this we must keep track of
18 // what kind of events the goroutines are currently interested in,
26 // will not receive any events at this point. The association needs
42 // The main poller loop runs in its own thread waiting for events
45 // also re-associate the events that were not part of this current
52 // descriptor only with the subset of events that were previously
99 func port_associate(port, source int32, object uintptr, events uint32, user uintptr) int32 {
100 return int32(sysvicall5(&libc_port_associate, uintptr(port), uintptr(source), object, uintptr(events), user))
130 // We don't register for any specific type of events yet, that's
146 // Updates the association with a new set of interested events. After
155 events := (old & ^clear) | set
156 if old == events {
160 if events != 0 && port_associate(portfd, _PORT_SOURCE_FD, pd.fd, events, uintptr(unsafe.Pointer(pd))) != 0 {
164 pd.user = events
194 var events [128]portevent
197 if port_getn(portfd, &events[0], uint32(len(events)), &n, wait) < 0 {
207 ev := &events[i]
223 // To effect edge-triggered events, we need to be sure to
224 // update our association with whatever events were not