Re: [PATCH 4/5] hurd: Simplify _S_catch_exception_raise

2023-04-17 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le ven. 14 avril 2023 22:36:59 +0300, a ecrit: > _hurd_thread_sigstate () already handles finding an existing sigstate > before allocating a new one, so just use that. Bonus: this will only > lock the _hurd_siglock once. > > Signed-off-by: Sergey Bugaev > --- > h

[PATCH 4/5] hurd: Simplify _S_catch_exception_raise

2023-04-14 Thread Sergey Bugaev
_hurd_thread_sigstate () already handles finding an existing sigstate before allocating a new one, so just use that. Bonus: this will only lock the _hurd_siglock once. Signed-off-by: Sergey Bugaev --- hurd/catch-exc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hur