Sign in
go
/
website
/
1f6ba5cfa85f6083784abf0463d41f9f1564c630
/
.
/
_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
}