Re: Nested functions [was Re: valgrind]

2022-03-28 Thread Chris Hanson
On Mar 24, 2022, at 8:16 PM, Mouse wrote: > Nested functions are not closures, or at least not what I know as > closures. A nested function pointer (conceptually) goes invalid as > soon as anything it refers to goes out of scope, or at the latest as > soon as its smallest enclosing block exits

Re: about langage neutral

2022-03-14 Thread Chris Hanson
> - IDL from MACH/HURD (/darwin), no references, blur The Mach Interface Generator (mig) should be documented via a man page and in the PostScript reference documentation that's part of the Mach distribution. -- Chris

Re: Representing a rotary encoder input device

2021-09-22 Thread Chris Hanson
On Sep 22, 2021, at 7:10 AM, Jason Thorpe wrote: > Well, ultimately, we translate “HID report” -> “ws* input event”. Or are you > suggesting that we should have a new interface to user-space that just sends > HID reports? That sounds like a good long-term plan, IMO, given the prevalence of

Re: Introduction to posix_spawn/chdir

2021-06-27 Thread Chris Hanson
On Jun 27, 2021, at 1:39 AM, Piyush Sachdeva wrote: > > On Sun, Jun 27, 2021 at 1:15 PM Chris Hanson > wrote: >> What are the straightforward changes needed to implement this minor >> addition? That’s all I’m wondering. >> >> Let’s say I w

Re: Introduction to posix_spawn/chdir

2021-06-27 Thread Chris Hanson
On Jun 27, 2021, at 12:20 AM, Martin Husemann wrote: > > On Sat, Jun 26, 2021 at 03:02:35PM -0700, Chris Hanson wrote: >> That's great, I'm more curious about the implementation plan. > > I would understand this question if we were talking about implementing > posix_spawn

Re: Introduction to posix_spawn/chdir

2021-06-26 Thread Chris Hanson
On Jun 25, 2021, at 9:57 PM, Martin Husemann wrote: > > On Fri, Jun 25, 2021 at 02:45:59PM -0700, Chris Hanson wrote: >> Also, exactly what form will posix_spawn chdir support take in your project? > > I'm not sure I understand the question correctly. > > The

Re: Introduction to posix_spawn/chdir

2021-06-25 Thread Chris Hanson
Also, exactly what form will posix_spawn chdir support take in your project? Have you provided an implementation plan somewhere? I read the first blogpost as more of a rationale than a plan. — Chris

Re: Introduction to posix_spawn/chdir

2021-06-25 Thread Chris Hanson
On Jun 25, 2021, at 8:33 AM, Piyush Sachdeva wrote: > > In the matter of organising my repository (pointed out by Christos Zoulas), > I have mirrored The NetBSD source in my github repository as a separate > branch. > However, I am using a main branch as a staging area for the TNF mirror, >

Re: Booting HP DL360 gen9

2021-06-05 Thread Chris Hanson
My DL360p Gen8 just worked with 9.0. Does FreeBSD boot on it? That could provide a decent point of comparison. — Chris

Re: bounty for virtio 1.0 (now with instructions!)

2020-12-18 Thread Chris Hanson
On Dec 18, 2020, at 2:21 PM, Reinoud Zandijk wrote: > > Hi Chris, > > On Wed, Dec 16, 2020 at 01:08:23AM -0800, Chris Hanson wrote: >> NetBSD could also use a VirtIO console device, since that’s all >> Virtualization.framework offers on macOS 11 (whether on x8

Re: bounty for virtio 1.0 (now with instructions!)

2020-12-16 Thread Chris Hanson
NetBSD could also use a VirtIO console device, since that’s all Virtualization.framework offers on macOS 11 (whether on x86-64 or Apple Silicon). — Chris

Re: style change: explicitly permit braces for single statements

2020-08-03 Thread Chris Hanson
On Jul 12, 2020, at 9:31 PM, Greg A. Woods wrote: > > Personally I don't think there's any good excuse for not always putting > braces around all single-statement blocks. The only bad execuse is that > the language doesn't strictly require them. People are lazy, I get that > (I am too), but in

Re: Regarding the ULTRIX and OSF1 compats

2019-03-09 Thread Chris Hanson
Ever since seeing Hubbard & co’s “NextBSD” stuff I’ve been hoping that Mach would eventually find its way into the BSDs. For all its warts there’s enormous utility in Mach’s primitives, both IPC and other. (Of course I’m also a NeXT/Apple/Darwin person, so I’m used to building on them…) —