Re: Thread-safe getopt()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Thread-safe getopt()
Дата
Msg-id 2008737.1774882451@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Thread-safe getopt()  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Thread-safe getopt()
Список pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Thread-local variables would work too, but I think we'd need to give 
> them different names anyway to avoid conflicting with the plain getopt() 
> global variables.

Oh, excellent point.  I was thinking the change could be purely local to
getopt.c, but that probably wouldn't work because some of them are in
the visible API.

            regards, tom lane



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