Sign in
go
/
talks
/
a07c284bcf333dc17a1489fd441e8fccf1e01c2a
/
.
/
content
/
2015
/
how-go-was-made
/
mapchan.diff
blob: ddd5cd021e77c297565b0629f0027f51481cff97 [
file
] [
log
] [
blame
]
type
PollServer
struct
{
-
cr
,
cw
*
chan
*
FD
;
// buffered >= 1
+
cr
,
cw chan
*
FD
;
// buffered >= 1
pr
,
pw
*
os
.
FD
;
-
pending
*
map
[
int64
]
*
FD
;
+
pending map
[
int64
]
*
FD
;
poll
*
Pollster
;
// low-level OS hooks
}