On 12/26/2013 03:25:11 PM, Richard Braun wrote:
On Thu, Dec 26, 2013 at 03:15:24PM +0100, Marin Ramesa wrote:
> I get segfaults in kalloc(). I don't know what I'm doing wrong.

Show us how you use it.

futex->futexed_threads = (thread_t)kalloc((futex->num_futexed_threads+1)*sizeof(struct thread));

When futexed_threads is a pointer to struct thread.

Reply via email to