On 2012/02/28 23:52:04, bradfitz wrote: > ... Btw, this is issue 3154. Done. > Are ...
13 years, 1 month ago
(2012-02-29 00:07:55 UTC)
#4
On 2012/02/28 23:52:04, bradfitz wrote:
> ... Btw, this is issue 3154.
Done.
> Are we going to further document the relation between Wait and Release?
I did change Wait comment. I think it is enough. If you want more, please tell
me what to say.
> Should Release be documented to say that once it's release, it can no
> longer be waited on?
Added more to Release comment.
> ... (and enforce that?)
It is enforces as is - Release sets p.handle to syscall.InvalidHandle. Waiting
on syscall.InvalidHandle will fail. It is like using os.File after you run Close
on it.
Alex
On Tue, Feb 28, 2012 at 4:07 PM, <alex.brainman@gmail.com> wrote: > On 2012/02/28 23:52:04, bradfitz ...
13 years, 1 month ago
(2012-02-29 00:12:17 UTC)
#5
On Tue, Feb 28, 2012 at 4:07 PM, <alex.brainman@gmail.com> wrote:
> On 2012/02/28 23:52:04, bradfitz wrote:
>
>> ... Btw, this is issue 3154.
>>
>
> Done.
>
>
> Are we going to further document the relation between Wait and
>>
> Release?
>
> I did change Wait comment. I think it is enough. If you want more,
> please tell me what to say.
>
>
> Should Release be documented to say that once it's release, it can no
>> longer be waited on?
>>
>
> Added more to Release comment.
>
> ... (and enforce that?)
>>
>
> It is enforces as is - Release sets p.handle to syscall.InvalidHandle.
> Waiting on syscall.InvalidHandle will fail. It is like using os.File
> after you run Close on it.
>
>
Oh, and I see the same in exec_unix.go. Okay, I'm happy enough.
LGTM but wait for others. Also, should the Release docs be mirrored in exec_unix.go? I ...
13 years, 1 month ago
(2012-02-29 00:13:54 UTC)
#6
LGTM but wait for others.
Also, should the Release docs be mirrored in exec_unix.go? I think the
public golang.org will only show linux docs, anyway. I don't know what our
general policy on this sort of doc sync issue is.
On Tue, Feb 28, 2012 at 4:12 PM, Brad Fitzpatrick <bradfitz@golang.org>wrote:
>
>
> On Tue, Feb 28, 2012 at 4:07 PM, <alex.brainman@gmail.com> wrote:
>
>> On 2012/02/28 23:52:04, bradfitz wrote:
>>
>>> ... Btw, this is issue 3154.
>>>
>>
>> Done.
>>
>>
>> Are we going to further document the relation between Wait and
>>>
>> Release?
>>
>> I did change Wait comment. I think it is enough. If you want more,
>> please tell me what to say.
>>
>>
>> Should Release be documented to say that once it's release, it can no
>>> longer be waited on?
>>>
>>
>> Added more to Release comment.
>>
>> ... (and enforce that?)
>>>
>>
>> It is enforces as is - Release sets p.handle to syscall.InvalidHandle.
>> Waiting on syscall.InvalidHandle will fail. It is like using os.File
>> after you run Close on it.
>>
>>
> Oh, and I see the same in exec_unix.go. Okay, I'm happy enough.
>
>
>
On 2012/02/29 00:13:54, bradfitz wrote: > > Also, should the Release docs be mirrored in ...
13 years, 1 month ago
(2012-02-29 00:19:03 UTC)
#7
On 2012/02/29 00:13:54, bradfitz wrote:
>
> Also, should the Release docs be mirrored in exec_unix.go? ...
And exec_plan9 ... But I am not sure that it should. The way Russ wants things
(Release is called by Wait automatically), I feel he does not want Release to be
advertised much. But I will wait for him to say.
> ... I think the
> public http://golang.org will only show linux docs, anyway. I don't know what
our
> general policy on this sort of doc sync issue is.
I can move these docos into doc.go - that is not the problem. It just we need to
decide if we want same comment for all os, and, if yes, for which functions.
Alex
http://codereview.appspot.com/5707052/diff/5001/src/pkg/os/exec_windows.go File src/pkg/os/exec_windows.go (right): http://codereview.appspot.com/5707052/diff/5001/src/pkg/os/exec_windows.go#newcode52 src/pkg/os/exec_windows.go:52: // rendering it unusable in the future. On 2012/02/29 ...
13 years, 1 month ago
(2012-03-01 03:23:41 UTC)
#10
Issue 5707052: code review 5707052: os: release process handle at the end of windows (*Proc...
(Closed)
Created 13 years, 1 month ago by brainman
Modified 13 years, 1 month ago
Reviewers:
Base URL:
Comments: 2