An error occurred fetching the project authors.
  1. 19 Jan, 2012 1 commit
    • Brad Fitzpatrick's avatar
      net: change SetTimeout to SetDeadline · b71883e9
      Brad Fitzpatrick authored
      Previously, a timeout (in int64 nanoseconds) applied to a granularity
      even smaller than one operation:  a 100 byte read with a 1 second timeout
      could take 100 seconds, if the bytes all arrived on the network 1 second
      apart.  This was confusing.
      
      Rather than making the timeout granularity be per-Read/Write,
      this CL makes callers set an absolute deadline (in time.Time)
      after which operations will fail.  This makes it possible to
      set deadlines at higher levels, without knowing exactly how
      many read/write operations will happen in e.g. reading an HTTP
      request.
      
      Fixes #2723
      
      R=r, rsc, dave
      CC=golang-dev
      https://golang.org/cl/5555048
      b71883e9
  2. 21 Dec, 2011 1 commit
  3. 30 Nov, 2011 1 commit
  4. 08 Nov, 2011 1 commit
  5. 02 Nov, 2011 1 commit
  6. 19 Sep, 2011 1 commit
  7. 15 Sep, 2011 1 commit
    • Russ Cox's avatar
      build: add build comments to core packages · 2715956f
      Russ Cox authored
      The go/build package already recognizes
      system-specific file names like
      
              mycode_darwin.go
              mycode_darwin_386.go
              mycode_386.s
      
      However, it is also common to write files that
      apply to multiple architectures, so a recent CL added
      to go/build the ability to process comments
      listing a set of conditions for building.  For example:
      
              // +build darwin freebsd openbsd/386
      
      says that this file should be compiled only on
      OS X, FreeBSD, or 32-bit x86 OpenBSD systems.
      
      These conventions are not yet documented
      (hence this long CL description).
      
      This CL adds build comments to the multi-system
      files in the core library, a step toward making it
      possible to use go/build to build them.
      
      With this change go/build can handle crypto/rand,
      exec, net, path/filepath, os/user, and time.
      
      os and syscall need additional adjustments.
      
      R=golang-dev, r, gri, r, gustavo
      CC=golang-dev
      https://golang.org/cl/5011046
      2715956f
  8. 24 Aug, 2011 1 commit
  9. 14 Jul, 2011 1 commit
  10. 13 Jun, 2011 1 commit