bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] kern: simple futex for gnumach (version 5)


From: Marin Ramesa
Subject: Re: [RFC] kern: simple futex for gnumach (version 5)
Date: Thu, 26 Dec 2013 15:15:24 +0100

On 12/26/2013 02:58:01 PM, Richard Braun wrote:
Why __builtin_malloc and __builtin_free ??

I get segfaults in kalloc(). I don't know what I'm doing wrong.

> +                  if (futex->num_futexed_threads == 128)
> +                          return FUTEX_RESOURCE_SHORTAGE;

I assume this limit is temporary. If not, remove it, there is no reason
to add a constraint like this one.

This is just for testing until I found a dynamic allocation function
that I can use with thread allocation.

Thanks for the comments!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]