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

Issue 156073: code review 156073: Add an intptr type to runtime; needed in FreeBSD (Closed)

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

Description

Add an intptr type to runtime; needed in FreeBSD In thread.c, we need to cast to whatever the native size of intptr is on the system, but we only have uintptr available. They're the same size, but can't do signed casts without this one :).

Patch Set 1 #

Patch Set 2 : code review 156073: Add an intptr type to runtime; needed in FreeBSD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/pkg/runtime/freebsd/thread.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/runtime.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3
dho
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review the following change.
15 years, 4 months ago (2009-11-18 14:29:14 UTC) #1
rsc
LGTM thanks
15 years, 4 months ago (2009-11-18 16:13:02 UTC) #2
rsc
15 years, 4 months ago (2009-11-18 17:11:42 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=392c2a73dfc2 ***

Add an intptr type to runtime; needed in FreeBSD

In thread.c, we need to cast to whatever the native
size of intptr is on the system, but we only have
uintptr available. They're the same size, but can't
do signed casts without this one :).

R=rsc
CC=golang-dev
http://codereview.appspot.com/156073

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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