On 2011/06/28 07:40:16, albert.strasheim wrote: > Hello mailto:rsc@golang.org, mailto:iant@golang.org (cc: mailto:golang-dev@googlegroups.com), > > I'd like ...
13 years, 10 months ago
(2011-06-28 07:41:23 UTC)
#2
On 2011/06/28 07:40:16, albert.strasheim wrote:
> Hello mailto:rsc@golang.org, mailto:iant@golang.org (cc:
mailto:golang-dev@googlegroups.com),
>
> I'd like you to review this change to
> https://go.googlecode.com/hg/
There are still two pthread_creates in libmach/darwin.c that don't check their
return values. Not sure what the best way is to fix those.
While I was in there, I also noticed quite a few printf missing arguments.
Regards
Albert
On 2011/06/28 07:40:16, albert.strasheim wrote: > Hello mailto:rsc@golang.org, mailto:iant@golang.org (cc: mailto:golang-dev@googlegroups.com), > > I'd like ...
13 years, 10 months ago
(2011-06-28 09:42:13 UTC)
#3
On 2011/06/28 07:40:16, albert.strasheim wrote:
> Hello mailto:rsc@golang.org, mailto:iant@golang.org (cc:
mailto:golang-dev@googlegroups.com),
>
> I'd like you to review this change to
> https://go.googlecode.com/hg/
I would suggest to output stringified errno as well.
Hello On Tue, Jun 28, 2011 at 11:42 AM, <dvyukov@google.com> wrote: > On 2011/06/28 07:40:16, ...
13 years, 10 months ago
(2011-06-28 10:07:56 UTC)
#4
Hello
On Tue, Jun 28, 2011 at 11:42 AM, <dvyukov@google.com> wrote:
> On 2011/06/28 07:40:16, albert.strasheim wrote:
>> Hello mailto:rsc@golang.org, mailto:iant@golang.org (cc:
> mailto:golang-dev@googlegroups.com),
>> I'd like you to review this change to
>> https://go.googlecode.com/hg/
> I would suggest to output stringified errno as well.
I thought about that, but I'm not sure if strerror is safe to use in
this situation, or if I should use the functions in lib9/errstr.c?
Regards
Albert
> There are still two pthread_creates in libmach/darwin.c that don't check > their return values. ...
13 years, 10 months ago
(2011-06-28 11:31:45 UTC)
#5
> There are still two pthread_creates in libmach/darwin.c that don't check
> their return values. Not sure what the best way is to fix those.
Not the same way?
> While I was in there, I also noticed quite a few printf missing
> arguments.
Thanks.
> I thought about that, but I'm not sure if strerror is safe to use ...
13 years, 10 months ago
(2011-06-28 11:31:59 UTC)
#6
> I thought about that, but I'm not sure if strerror is safe to use in
> this situation, or if I should use the functions in lib9/errstr.c?
The files you're editing are compiled by gcc.
You're already calling fprintf, so using strerror
should not be a problem.
Russ
Hello On 2011/06/28 11:31:59, rsc wrote: > > I thought about that, but I'm not ...
13 years, 10 months ago
(2011-06-28 15:33:45 UTC)
#7
Hello
On 2011/06/28 11:31:59, rsc wrote:
> > I thought about that, but I'm not sure if strerror is safe to use in
> > this situation, or if I should use the functions in lib9/errstr.c?
> The files you're editing are compiled by gcc.
> You're already calling fprintf, so using strerror
> should not be a problem.
Okay, done. PTAL.
I've tested that all.bash compiles and runs on linux/amd64 and darwin/amd64.
Regards
Albert
Issue 4643057: code review 4643057: runtime/cgo: check for errors from pthread_create
(Closed)
Created 13 years, 10 months ago by albert.strasheim
Modified 13 years, 10 months ago
Reviewers:
Base URL:
Comments: 0