Re: SpinLockAcquire question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SpinLockAcquire question
Date
Msg-id 27877.1271774759@sss.pgh.pa.us
Whole thread Raw
In response to SpinLockAcquire question  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
Boszormenyi Zoltan <zb@cybertec.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


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: [GENERAL] trouble with to_char('L')
Next
From: Alvaro Herrera
Date:
Subject: Re: Invitation to connect on LinkedIn