Re: New win32 signals patch (3)

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: New win32 signals patch (3)
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34B12C@algol.sollentuna.se
обсуждение исходный текст
Список pgsql-hackers-win32
> > The limit for select on win32 is actually 64, which is
> horribly low in
> > many cases.
>
> Wow, that small and they don't have poll()?  Whatta bunch of bozos.

Well, they have other methods. Such as their "I/O Completion Ports",
which I've seen easily handle 30-40,000 sockets (IIRC that's the number
- it was at least very large)... But they do like to do things their own
way...


> > But as it is right now, select() is only used in the
> postmaster and in
> > the pgstat process, neither of which use any large number of fds.
> > Since we only select() on sockets, and not the files.
>
> Okay.  I thought I had seen something about using select() in
> the context of catching signals, in which case it'd be
> necessary to use it in all backends.  But if not then we can
> probably live with the small fd_set size.

If you're talking win32 port specific, I think it was the other way
around. Using select() *prevents* catching signals with the current
implementation. This is why we need the "select replacement", see my
latest patch.


//Magnus

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: New win32 signals patch (3)
Следующее
От: "Ronald Kuczek"
Дата:
Сообщение: Win32 sample service code