diff options
author | Keith Packard <keithp@keithp.com> | 2017-01-09 18:10:21 -0800 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-01-11 15:04:12 -0500 |
commit | 82dcb68a8782d0cce6e6ce1a375cda05c91fe8c3 (patch) | |
tree | d5187770cbcfa88586cded4516f112432d968477 /include | |
parent | 14516988e095ed748e738c14a87c3656006846f7 (diff) |
AttendClient of grab-pervious client must queue to saved_ready_clients [v2]
A client which is attended while a grab is blocking execution of its
requests needs to be placed in the saved_ready_clients list so that it
will get scheduled once the grab terminates. Otherwise, if the client
never sends another request, there is no way for it to be placed in
the ready_clients list.
v2: Wrap comment above mark_client_saved_ready.
Remove test for OS_COMM_IGNORED which will always be true.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99333
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 785053d033e73d2deb0ded4b97eabfd881991978)
Diffstat (limited to 'include')
-rw-r--r-- | include/dixstruct.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dixstruct.h b/include/dixstruct.h index d71b0ac05..21a6b8a8d 100644 --- a/include/dixstruct.h +++ b/include/dixstruct.h @@ -143,6 +143,12 @@ extern void SmartScheduleStopTimer(void); /* Client has requests queued or data on the network */ void mark_client_ready(ClientPtr client); +/* + * Client has requests queued or data on the network, but awaits a + * server grab release + */ +void mark_client_saved_ready(ClientPtr client); + /* Client has no requests queued and no data on network */ void mark_client_not_ready(ClientPtr client); |