1. 15 Jul, 2014 2 commits
    • Andrew Gerrand's avatar
      A+C: add Chris McGee (individual CLA) · a44cf8d1
      Andrew Gerrand authored
      TBR=dsymonds
      R=golang-codereviews
      CC=golang-codereviews
      https://golang.org/cl/112300043
      a44cf8d1
    • Russ Cox's avatar
      runtime: refactor routines for stopping, running goroutine from m · 64c2083e
      Russ Cox authored
      This CL adds 'dropg', which is called to drop the association
      between m and its current goroutine, and it makes schedule
      handle locked goroutines correctly, instead of requiring all
      callers of schedule to do that.
      
      The effect is that if you want to take over an m for, say,
      garbage collection work while still allowing the current g
      to run on some other m, you can do an mcall to a function
      that is:
      
              // dissociate gp
              dropg();
              gp->status = Gwaiting; // for ready
      
              // put gp on run queue for others to find
              runtime·ready(gp);
      
              /* ... do other work here ... */
      
              // done with m, let it run goroutines again
              schedule();
      
      Before this CL, the dropg() body had to be written explicitly,
      and the check for lockedg before schedule had to be
      written explicitly too, both of which make the code a bit
      more fragile than it needs to be.
      
      LGTM=iant
      R=dvyukov, iant
      CC=golang-codereviews, rlh
      https://golang.org/cl/113110043
      64c2083e
  2. 14 Jul, 2014 4 commits
  3. 12 Jul, 2014 2 commits
  4. 11 Jul, 2014 3 commits
    • David du Colombier's avatar
      liblink: fix warnings on Plan 9 · 90c146f3
      David du Colombier authored
      warning: /usr/go/src/liblink/asm5.c:720 set and not used: m
      warning: /usr/go/src/liblink/asm5.c:807 set and not used: c
      
      LGTM=minux
      R=minux
      CC=golang-codereviews
      https://golang.org/cl/108570043
      90c146f3
    • Rob Pike's avatar
      ld: change DWARF output for structs · 125d1e92
      Rob Pike authored
      The debug/dwarf package cannot parse the format generated here,
      but the format can be changed so it does.
      After this edit, tweaking the expression defining the offset
      of a struct field, the dwarf package can parse the tables (again?).
      
      LGTM=rsc
      R=rsc
      CC=golang-codereviews
      https://golang.org/cl/105710043
      125d1e92
    • Dustin Long's avatar
      image/png: interlacing support for png. · 5c2f01f3
      Dustin Long authored
      Fixes #6293.
      
      Image "testdata/benchRGB-interlace.png" was generated by opening "testdata/benchRGB.png" in the editor Gimp and saving it with interlacing enabled.
      
      Benchmark:
      BenchmarkDecodeRGB        	     500	   7014194 ns/op	  37.37 MB/s
      ok  	pkg/image/png	4.657s
      
      BenchmarkDecodeInterlacing	     100	  10623241 ns/op	  24.68 MB/s
      ok  	pkg/image/png	1.339s
      
      LGTM=nigeltao
      R=nigeltao, andybons, matrixik
      CC=golang-codereviews
      https://golang.org/cl/102130044
      5c2f01f3
  5. 10 Jul, 2014 16 commits
  6. 09 Jul, 2014 13 commits