Hi Louis,

A short test case and a command line would help. :)

--kcc

On Mon, Mar 30, 2009 at 6:57 PM, Louis Savard <[email protected]> wrote:
> Hi,
>
>
>
> I’m just starting out with valgrind. My application starts a bunch of
> threads in the main process. I’m seeing a couple issues when running the app
> through valgrind and haven’t been able to find answers in the help files.
>
>
>
> I’m investigating a problem at shutdown of my app. The main process is
> waiting on a semaphore that is unlocked by a signal. Valgrind doesn’t stop
> on the sem_wait. To go around this issue, I tried putting a delay using
> sleep() and nanosleep(). Valgrind doesn’t sleep at all when encountering the
> functions. This seems to be occurring only in the main process though. Other
> timers/delays in the spawned threads appear ok.
>
>
>
>
>
> So is there an option, or configuration I might be missing to either have
> proper support for semaphores?
>
>
>
>
>
> Any help is appreciated.
>
>
>
>
>
>
>
>
>
> Louis
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
>

------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to