[PATCH 1/2] Fix lwp_suspend/unsuspend imbalance in linux_wait_1
Antoine Tremblay
antoine.tremblay@ericsson.com
Wed Aug 31 17:50:00 GMT 2016
Pedro Alves writes:
> On 08/31/2016 06:14 PM, Antoine Tremblay wrote:
>> This patch fixes imbalanced lwp_suspend/unsuspend calls caused by the
>> premature choosing of another event for fairness.
>>
>> select_event_lwp would switch the event before a call to
>> unsuspend_all_lwps, thus it would be called with the wrong event.
>
> Hmm, that does sound wrong.
>
> Patch LGTM.
>
Thanks, pushed.
Antoine
More information about the Gdb-patches
mailing list