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