|
From: Tom H. <th...@cy...> - 2004-06-22 15:31:20
|
In message <Pin...@sc...>
Bob Friesenhahn <bfr...@si...> wrote:
> On Tue, 22 Jun 2004, Tom Hughes wrote:
>
>> In message <Pin...@sc...>
>> Bob Friesenhahn <bfr...@si...> wrote:
>>
>>> Our software is using POSIX.4 semaphores in shared memory. These
>>> semaphores are initialized by a different application than the one
>>> being tested by valgrind. Valgrind complains vigorously because the
>>> semaphores are not initialized.
>>
>> Which interface is POSIX.4 semaphores? pthread semaphores?
>
> sem_init(), sem_wait(), etc.
Right. They are part of the pthreads interface so valgrind makes
no attempt to support them in process shared mode - all the various
pthreads data types are only supported in thread shared mode to the
extent that they are supported at all in many cases...
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|