Re: Question regarding pfree and thread safety.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question regarding pfree and thread safety.
Дата
Msg-id 29909.1074267852@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question regarding pfree and thread safety.  ("Thomas Hallgren" <thhal@mailblocks.com>)
Список pgsql-hackers
"Thomas Hallgren" <thhal@mailblocks.com> writes:
> Is it safe to call pfree() from multiple threads?

There are no multiple threads in the backend, and no provision whatever
for thread safety.  On anything, not only pfree.  If your Java runtime
cannot be coerced into a single-thread mode of operation, you would be
well advised to keep it at arm's length in a separate process.
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: nomenclature
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Missed bet in toaster routines