BurntSushi / xgb

The X Go Binding is a low-level API to communicate with the X server. It is modeled on XCB and supports many X extensions.
Other
489 stars 75 forks source link

Read/Write mutex for Extensions map #34

Closed aarzilli closed 8 years ago

aarzilli commented 8 years ago

Since go1.6 reading a map while concurrently writing to it will cause a panic, access to the Extensions map needs to be guarded with a read/write mutex.

BurntSushi commented 8 years ago

Awesome, thank you!