From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200509212032.j8LKWvG29675@demeter.cs.utwente.nl> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] thread confusion In-reply-to: Your message of "Wed, 21 Sep 2005 22:25:38 +0200." <200509212025.j8LKPdr29497@demeter.cs.utwente.nl> References: <2e4165d0a4172357099de271ac66cd5e@lsub.org> <200509211505.j8LF5FQ00275@zamenhof.cs.utwente.nl> <200509212025.j8LKPdr29497@demeter.cs.utwente.nl> From: Axel Belinfante MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29673.1127334776.1@demeter.cs.utwente.nl> Date: Wed, 21 Sep 2005 22:32:57 +0200 Topicbox-Message-UUID: 8e80d0f6-ead0-11e9-9d60-3106f5b1d025 To avoid repeating myself too much: if I first close one randomly chosen end of the pipe, and then do a zero-length write at the other end and then close that end, it works. It also works if I first do the zero-length write and close at one end and then do the close at the other end is this a correct procedure, or would another be preferred? Axel.