<div>Hi,</div>
<div> </div>
<div>In my application there are two threads. </div>
<div> Thread 1: Does decoding</div>
<div> Thread 2: Does display (i.e. vaPutSurface)</div>
<div> </div>
<div>With X-Server 1.6.X the application crashes and exits with following error</div>
<div> </div>
<div>XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server &quot;:0.0&quot;<br>      after 54 requests (53 known processed) with 0 events remaining.<br></div>
<div> </div>
<div>However if I make the application run in same thread it works fine.</div>
<div> </div>
<div> </div>
<div>The same 2 threaded application worked fine with X-Server 1.4</div>
<div> </div>
<div>Is this kind of 2 threaded operation permitted ? </div>
<div>Can anyone tell me why this error occurs and solution if any ?</div>
<div> </div>
<div>Regards,</div>
<div>Sambhav </div>