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

Issue 6397047: code review 6397047: vacfs: fix create srv with ORCLOSE on plan 9 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by 0intro
Modified:
11 years, 9 months ago
Reviewers:
CC:
rsc
Visibility:
Public.

Description

vacfs: fix create srv with ORCLOSE on plan 9 In the current code, the srv file is removed just after the main thread exits, while the srv thread is still running, which is not the expected behavior. We moved the srv creation just before the procrfork, in order that the srv file will not be removed until the srv thread exits.

Patch Set 1 #

Patch Set 2 : diff -r c9adabc5fbdf https://code.google.com/p/plan9port #

Patch Set 3 : diff -r 2b81e796018d https://code.google.com/p/plan9port/ #

Patch Set 4 : diff -r eecd41a604c1 https://code.google.com/p/plan9port #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -9 lines) Patch
M src/cmd/vac/vacfs.c View 1 2 2 chunks +11 lines, -9 lines 0 comments Download

Messages

Total messages: 5
0intro
Hello rsc, I'd like you to review this change to https://code.google.com/p/plan9port
11 years, 9 months ago (2012-07-14 13:16:00 UTC) #1
rsc
I think a better fix might be to move this up above the procrfork, so ...
11 years, 9 months ago (2012-07-29 22:52:29 UTC) #2
0intro
Hello rsc@golang.org, Please take another look.
11 years, 9 months ago (2012-07-30 08:12:12 UTC) #3
rsc
LGTM
11 years, 9 months ago (2012-08-03 18:46:12 UTC) #4
0intro
11 years, 9 months ago (2012-08-03 19:12:35 UTC) #5
*** Submitted as http://code.google.com/p/plan9port/source/detail?r=059296ef16f1
***

vacfs: fix create srv with ORCLOSE on plan 9

In the current code, the srv file is removed
just after the main thread exits, while the
srv thread is still running, which is not
the expected behavior.
We moved the srv creation just before the
procrfork, in order that the srv file will
not be removed until the srv thread exits.

R=rsc
http://codereview.appspot.com/6397047
Sign in to reply to this message.

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