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

Issue 4575053: code review 4575053: sync: add Semaphore

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by kevlar
Modified:
11 years, 8 months ago
Reviewers:
khr, dave
CC:
golang-codereviews
Visibility:
Public.

Description

sync: add Semaphore There have been more and more questions about semaphore use cases on the mailing lists and on IRC. If we think it's a good idea (it's probably even easier to mishandle than mutexes), here is my attempt at a basic implementation.

Patch Set 1 #

Patch Set 2 : diff -r 3418f22c39eb https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 3418f22c39eb https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -0 lines) Patch
M src/pkg/sync/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/sync/semaphore.go View 1 1 chunk +50 lines, -0 lines 0 comments Download
A src/pkg/sync/semaphore_test.go View 1 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 6
kevlar
Hello iant@golang.org, golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 3 months ago (2011-06-08 16:26:10 UTC) #1
rsc
I am very skeptical.
14 years, 3 months ago (2011-06-08 20:18:08 UTC) #2
rsc
13 years, 3 months ago (2012-06-03 04:51:28 UTC) #3
khr
Q=wait
12 years, 2 months ago (2013-07-22 19:38:10 UTC) #4
gobot
Replacing golang-dev with golang-codereviews.
11 years, 9 months ago (2013-12-20 16:26:20 UTC) #5
dave_cheney.net
11 years, 8 months ago (2014-01-01 23:53:06 UTC) #6
On 2013/12/20 16:26:20, gobot wrote:
> Replacing golang-dev with golang-codereviews.

R=close
Sign in to reply to this message.

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