Re: SpinLockAcquire question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SpinLockAcquire question
Date: 2010-04-20 14:45:59
Message-ID: 27877.1271774759@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Boszormenyi Zoltan <zb(at)cybertec(dot)at> writes:
> is there a danger in using SpinLockAcquire() in
> a signal handler?

Yes. Actually, pretty much anything beyond setting a "volatile" flag
variable is too dangerous.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-04-20 14:49:44 Re: Invitation to connect on LinkedIn
Previous Message Hiroshi Inoue 2010-04-20 14:28:23 Re: [GENERAL] trouble with to_char('L')