> From: Noah Watkins <[EMAIL PROTECTED]>
> Subject: pthread_mutex_init returns EVINAL
> 
> I am running 2.6.15-rt16. I am trying to run the robust1-mode2.c test 
> from the posix test suite (posixtest/posixtestsuite/functional/ 
> threads/robust_test). It fails during the call to pthread_mutex_init 
> when the futex syscall for FUTEX_REGISTER is made. EINVAL is returned 
> in futex_register when
> 
> this test fails:
> 
> if (vma->vm_file && vma->vm_file->f_mapping)
> 
> I am trying to get started with some simple examples but am stuck at 
> this point.
> 
> - Noah

This test is checking that the robust mutex is in shared memory. The
shared memory can be mmap'ed or SysV IPC shared memory, but a shared,
robust mutex must be stored in a shared memory region.

Todd.
_______________________________________________
robustmutexes mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/robustmutexes

Reply via email to