Re: [Stlport-devel] stlport/thread help
Brought to you by:
complement
|
From: Petr O. <pt...@vo...> - 2009-12-23 20:56:24
|
On Wednesday 23 December 2009 21:00:25 Balachandran, Karthik wrote:
> Hello All,
>
>
> Wondering if anyone can help me out so I can go on vacation with a load off my chest :)
If you will hide really important info, then nobody help you indeed...
You use something before STLport 5.1; even since 5.0 there are few
issues with pthread alloc was fixed.
> Developing on suse sles9, using gcc 3.4.2.
>
> I have a thread (pthread) that forks off a child process
> (using fork() , not sharing parent process memory) .
Then, I can suggest a lot of scenarios when problem on you side
and not directly related to STLport.
For example:
process 1 process 2
thread 1 thread 2
start string allocation ....
lock (#)
fork() -----> ...
unlock ... ...
end string allocation ...
start string allocation
lock <- deadloack, see (#)
...
--
- ptr
|