[RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Marin Ramesa
This is a simple futex implementation with a hash table, vm_map lookup, futex wake that wakes futexes at the same offset, dynamic allocation and a per-process mutex for the hash table. --- Makefrag.am | 2 + kern/futex.c | 255 +++

Re: [RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Svante Signell
On Sat, 2013-12-21 at 14:09 +0100, Marin Ramesa wrote: This is a simple futex implementation with a hash table, vm_map lookup, futex wake that wakes futexes at the same offset, dynamic allocation and a per-process mutex for the hash table. + * Copyright (c) 2013 Marin Ramesa + * All rights

Re: [RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Marin Ramesa
On 21.12.2013 23:01:50, Svante Signell wrote: + * Copyright (c) 2013 Marin Ramesa + * All rights reserved. + * ... Why not e.g. a GPL licence, even if this function is good it might not be accepted due to this. I don't know much about licenses, I copied this from kern/slab.c. It doesn't

Re: [RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Richard Braun
On Sat, Dec 21, 2013 at 11:26:37PM +0100, Marin Ramesa wrote: Why not e.g. a GPL licence, even if this function is good it might not be accepted due to this. I don't know much about licenses, I copied this from kern/slab.c. It doesn't make a difference to me what license it is as long as