From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7359f04905011408431c97d623@mail.gmail.com> Date: Fri, 14 Jan 2005 08:43:48 -0800 From: Rob Pike To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] cooked mouse mode. In-Reply-To: <2ee4ca55868f2b2bdacb74266d5e6ebf@plan9.escet.urjc.es> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <28517e1814f4421581e238eed262c9ba@vitanuova.com> <2ee4ca55868f2b2bdacb74266d5e6ebf@plan9.escet.urjc.es> Topicbox-Message-UUID: 30a1c01e-eace-11e9-9e20-41e7f4b1d025 The interface should be a wrapper for the existing interface, one that takes a mouse interface and returns a cooked mouse interface. If possible, it shouldn't even depend on the existence of mouse files and so on, but just on the channels that talk to the mouse. Concurrency is really about interfaces. Here you're chaning the interface to a concurrent component by hacking the interface. That's missing the point. In other words, I agree with Rog's objections but have a purer notion of how to approach the problem. -rob