Adding Thread Safety to the X Go Binding

from blog Andrew Gallant's Blog on Andrew Gallant's Blog, | ↗ original
The X Go Binding (XGB) is a low level library that provides an API to interact with running X servers. One can only communicate with an X server by sending data over a network connection; protocol requests, replies and errors need to be perfectly constructed down to the last byte. Xlib did precisely this, and then some. As a result, Xlib became...