SpinLockAcquire question

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема SpinLockAcquire question
Дата
Msg-id 4BCDB032.8090403@cybertec.at
обсуждение исходный текст
Ответы Re: SpinLockAcquire question
Список pgsql-hackers
Hi,

is there a danger in using SpinLockAcquire() in
a signal handler? I mean if e.g. a spinlock is already
taken by the process and a signal comes that's handler
wants to execute SpinLockAcquire() again, does it
lock up or simply increases the lock counter?

Thanks in advance,
Zoltán Böszörményi

-- 
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics

----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [DOCS] Streaming replication document improvements
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [DOCS] Streaming replication document improvements