XDrawPoint(s) etc MT safe?

Dennis Clarke dclarke at blastwave.org
Wed Oct 17 02:04:15 UTC 2018

On 10/16/2018 09:58 PM, Dennis Clarke wrote:
> Dear Xorg :
>      Something I had not thought of came up today. Could multiple threads
> call XDrawPoint() and then XFlush() ?  Suppose sixteen threads are
> dispatched to do some foo and each of them utters some XDrawPoint()
> calls and then XFlush()?  Is that remotely thread safe?

Sorry, assume XInitThreads() is in place.  Am I stuck with using
XLockDisplay() and XUnlockDisplay() and really multiple threads can
not really do work simultaneously. That is the question.


More information about the xorg mailing list