Hi All,<br><br>I am developping a C application which show several video streams. I have a thread per video stream<br>and I update each image calling to XvShmPutImage. I use a different Xv port in each thread. Currently<br>

I am using a X server connection per thread. Should I share it? <br>Should I call to XLockDisplay/XUnLockDisplay? As soon as I am not sharing the connection, I guess I shouldn't lock.<br><br>Thanks<br><br>Paco<br clear="all">

<br>-- <br>Francisco Javier Cabello Torres<br>Investigación y Desarrollo<br>Research and Development<br>-----<br>V I S U A L   T O O L S<br>C/Isla Graciosa, 1.<br>28034 Madrid, Spain.<br>Telephone: + 34 91 729 48 44<br>Fax: +34 91 358 52 36<br>

Clave pública: <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBBBE5820">http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBBBE5820</a><br>--------------------------------------<br>