Re: Question regarding pfree and thread safety.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Hallgren" <thhal(at)mailblocks(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question regarding pfree and thread safety.
Date: 2004-01-16 15:44:12
Message-ID: 29909.1074267852@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Thomas Hallgren" <thhal(at)mailblocks(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-01-16 15:48:12 And ppl complain about *our* beta cycles ...
Previous Message Marc G. Fournier 2004-01-16 15:22:04 Re: nomenclature