[PATCH] os/inputthread: Force unlock when stopping thread.

Adam Jackson ajax at nwnk.net
Wed Jan 24 21:28:40 UTC 2018


On Mon, 2017-11-27 at 09:59 +0100, msrb at suse.com wrote:
> From: Michal Srb <msrb at suse.com>
> 
> The inputthread is kept locked all the time while X server's VT is not active.
> If the X server is terminated while not active, it will be stuck forever in
> InputThreadFini waiting for the thread to join, but it wouldn't because it is
> locked.
> 
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=103782
> Signed-off-by: Michal Srb <msrb at suse.com>
> ---
> This fixes the X server termination while its VT is not active. I think it
> should be safe to force unlock it from InputThreadFini - X server is
> terminating and nothing else should race there, but I am not completely sure. 

Merged, thanks:

remote: I: patch #185039 updated using rev 71348e99a8e6a95542e483b93839168ca8f51f81.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   d5c23b2948..71348e99a8  master -> master

- ajax


More information about the xorg-devel mailing list