Thanks Peter,
  Currently i am testing this code on desktop. without any multiple threads. But in future i need to port it on embedded device with multiple threads.
Please do let me know if i can do it with latest kernel.
So any of your experience will be of great help for me.
Thanks and regards.
Rupesh

On Thu, 02 Nov 2006 Peter Wippich wrote :
>
>Hello Rupesh,
>
>On Thu, 2 Nov 2006, Rupesh Gujare wrote:
>
> >
> > Thanks Peter and Mingfan for your suggestions and code review. I will
> > definately try to improve on it.
> >  I am currently working on 2.6.15 kernel. and had not applied any patch.
> >  I will like to ask peter that which kernel you are using? Are you facing same problem after patching to latest kernel?
> >  Do let me know.
> >  Thanks and regards.
> >  Rupesh
>
>The concurrency problem Mingfan talked about is not what causes your
>problem. This would only show up when you use multiple threads to do
>concurrent SDP connections, and you use a single thread.
>
>I observed something similar as you with an unpatched 2.6.14 kernel.
>Because this was on an embedded platform I have not tried newer versions
>(this simply causes to much work just for a try).
>
>Ciao,
>
>Peter
>
>
>|      Peter Wippich                  Voice: +49 30 46776411          |
>|      G&W Instruments GmbH            fax:  +49 30 46776419          |
>|      Gustav-Meyer-Allee 25, Geb. 12  Email: pewi@gw-instruments.de  |
>|      D-13355 Berlin  / Germany                                      |
>