Sign in
go
/
website
/
cd3dc4298d39aefc210f4400a7c67155472ed457
/
.
/
_content
/
talks
/
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
}