Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(384)

Delta Between Two Patch Sets: src/pkg/net/fd_poll_unix.go

Issue 7579044: code review 7579044: runtime: integrated network poller for linux (Closed)
Left Patch Set: diff -r fceb4b7359ef https://dvyukov%40google.com@code.google.com/p/go/ Created 11 years ago
Right Patch Set: diff -r 631535312f2b https://dvyukov%40google.com@code.google.com/p/go/ Created 11 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/net/fd_poll_runtime.go ('k') | src/pkg/runtime/defs2_linux.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2013 The Go Authors. All rights reserved. 1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build freebsd linux netbsd openbsd 5 // +build freebsd linux,arm netbsd openbsd
6 6
7 package net 7 package net
8 8
9 import ( 9 import (
10 "os" 10 "os"
11 "runtime" 11 "runtime"
12 "sync" 12 "sync"
13 "syscall" 13 "syscall"
14 "time" 14 "time"
15 ) 15 )
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 func setWriteDeadline(fd *netFD, t time.Time) error { 351 func setWriteDeadline(fd *netFD, t time.Time) error {
352 fd.pd.wdeadline.setTime(t) 352 fd.pd.wdeadline.setTime(t)
353 return nil 353 return nil
354 } 354 }
355 355
356 func setDeadline(fd *netFD, t time.Time) error { 356 func setDeadline(fd *netFD, t time.Time) error {
357 setReadDeadline(fd, t) 357 setReadDeadline(fd, t)
358 setWriteDeadline(fd, t) 358 setWriteDeadline(fd, t)
359 return nil 359 return nil
360 } 360 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b