Re: Outdated comments about proc->sem in lwlock.c

Thomas Munro <thomas.munro@gmail.com>

From: Thomas Munro <thomas.munro@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-07-09T06:15:35Z
Lists: pgsql-hackers
On Thu, Jul 8, 2021 at 8:48 AM Daniel Gustafsson <daniel@yesql.se> wrote:
> > On 3 Jun 2021, at 04:07, Thomas Munro <thomas.munro@gmail.com> wrote:
> > Here's a patch to remove the misleading comments.
>
> While not an expert in the area; reading the referenced commit and the code
> with the now removed comments, I think this is correct.

Thanks!  I made the comments slightly more uniform and pushed.



Commits

  1. Remove more obsolete comments about semaphores.

  2. Move deadlock and other interrupt handling in proc.c out of signal handlers.