<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>I am trying to stream JPIPs. I have two threads that are accessing the same file using the same GDALfiledataset. One thread is a subsample image used as a navigator and the other thread is the full-sized image for the viewer to see the full image.</DIV>
<DIV> </DIV>
<DIV>Each thread uses its own GDALAsyncReaderH Object. Each thread detects if the AsyncReader object is not NULL prior to calling GDALBeginAsyncReader(). If either AsyncReader is not NULL, then call GDALEndAsyncReader(). Sounds good right?</DIV>
<DIV> </DIV>
<DIV>Has anyone experienced the issue of GDALEndAsyncReader() taking longer than 10-20 seconds to return? Can someone explain to me why it might take that long just to delete the AsyncReader object for JPIP to be able to process my next wanted region?</DIV>
<DIV> </DIV>
<DIV>I hope that makes since for anyone to answer my quest. If not, let me know as I can provide more information. I am currently using the repository build from 2-1-2012</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Bob</DIV></td></tr></table>