Wednesday, December 07, 2022

Re: alpn/sem_init: OpenBSD does not support pshared

On 2022/12/06 23:58, Michel Belleau wrote:
> Hi Stuart, greetings all.
>
> As per https://man.openbsd.org/sem_init.3
>
> sem_init(sem_t *sem, int pshared, unsigned int value)
>
> A non-zero value for pshared specifies a shared semaphore that can be used by multiple
> processes, which this implementation is not capable of.
>
> Please consider having this patch in file-attach (patch-ualpn_c) applied so the alpn daemon can
> at least be used with a single worker (default is to use 2 workers) on openbsd. Tested on 7.2 .

Thanks, I've committed a slightly modified version of this.

No comments:

Post a Comment