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

Issue 6037048: code review 6037048: runtime: use __tfork() syscall on openbsd (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by jsing
Modified:
13 years, 8 months ago
Reviewers:
CC:
golang-dev, bradfitz, dho, rsc
Visibility:
Public.

Description

runtime: use __tfork() syscall on openbsd Switch from using the rfork() syscall on OpenBSD, to the __tfork() syscall. The __tfork() syscall is the preferred way of creating system threads and the rfork() syscall has recently been removed. Note: this will break compatibility with OpenBSD releases prior to 5.1.

Patch Set 1 : diff -r 69a5c6d983b4 https://go.googlecode.com/hg/ #

Patch Set 2 : diff -r 69a5c6d983b4 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 11095dc66395 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -54 lines) Patch
M src/pkg/runtime/sys_openbsd_386.s View 3 chunks +22 lines, -25 lines 0 comments Download
M src/pkg/runtime/sys_openbsd_amd64.s View 2 chunks +12 lines, -17 lines 0 comments Download
M src/pkg/runtime/thread_openbsd.c View 3 chunks +8 lines, -12 lines 0 comments Download

Messages

Total messages: 7
jsing
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 8 months ago (2012-04-23 16:41:24 UTC) #1
jsing
FTR OpenBSD 5.1 is the next stable release, which will be available from the 1st ...
13 years, 8 months ago (2012-04-23 17:22:07 UTC) #2
bradfitz
Out of curiosity, do OpenBSD users tend to follow the latest releases pretty closely? On ...
13 years, 8 months ago (2012-04-23 17:27:16 UTC) #3
dho
Op 23 april 2012 13:27 heeft Brad Fitzpatrick <bradfitz@golang.org> het volgende geschreven: > Out of ...
13 years, 8 months ago (2012-04-23 17:32:35 UTC) #4
rsc
LGTM
13 years, 8 months ago (2012-04-25 03:19:47 UTC) #5
jsing
On 24 April 2012 03:27, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Out of curiosity, do OpenBSD ...
13 years, 8 months ago (2012-04-25 13:50:38 UTC) #6
jsing
13 years, 8 months ago (2012-04-25 14:08:15 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=34a544cf1583 ***

runtime: use __tfork() syscall on openbsd

Switch from using the rfork() syscall on OpenBSD, to the __tfork()
syscall.  The __tfork() syscall is the preferred way of creating
system threads and the rfork() syscall has recently been removed.

Note: this will break compatibility with OpenBSD releases prior to 5.1.

R=golang-dev, bradfitz, devon.odell, rsc
CC=golang-dev
http://codereview.appspot.com/6037048
Sign in to reply to this message.

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