Skip to content

Fix race condition in poll_for_response

Peter Hutterer requested to merge whot/libx11:wip/poll-for-response-race into master

Expands on !34 (closed)

@fziglio - this is your patch but during reviewing I wanted to add comments, so that's what I did :) Which then lead to some restructuring. I left the steps in place so you can follow my thoughts, I haven't tested it yet though.

Funnily enough, the diff against master is very easy to review too because it's just one hunk that gets added.

Merge request reports

Loading