pthread help
- From: gaetanoortisi@xxxxxxxx
- Date: 10 Nov 2006 08:54:25 -0800
Hello,
I have some trouble in thread programming. What I do as an exercise is
to create a thread on a loop function involved in data stream output
from a buffer. The main execution thread have the possibility to pause
the loop thread, change the buffer location the loop thread use as
source
(rewind it, for example), restart or signal the loop thread to restart
output.
I read libc info pages, I think mutexes and condition variables could
help
but is a little too abstract to me to begin an approach.
Can anyone point me to some elegant solutions?
Thanks,
Gaetano
.
- Follow-Ups:
- Re: pthread help
- From: David Schwartz
- Re: pthread help
- Prev by Date: Re: what is the purpose of C++ smart pointer
- Next by Date: Re: pthread help
- Previous by thread: linking questions and dlopen/dlerror
- Next by thread: Re: pthread help
- Index(es):
Relevant Pages
|