Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
В списке pgsql-general по дате отправления:
| От | Trevor Talbot |
|---|---|
| Тема | Re: 8.2.3: Server crashes on Windows using Eclipse/Junit |
| Дата | |
| Msg-id | 90bce5730710221319n616bcac0rf53f38931fa7985f@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: 8.2.3: Server crashes on Windows using Eclipse/Junit (Magnus Hagander <magnus@hagander.net>) |
| Список | pgsql-general |
On 10/22/07, Magnus Hagander <magnus@hagander.net> wrote: > Trevor Talbot wrote: > > I'd probably take the approach of combining win32_waitpid() and > > threads. You'd end up with 1 thread per 64 backends; when something > > interesting happens the thread could push the info onto a queue, which > > the new win32_waitpid() would check. Use APCs to add new backends to > > threads with free slots. > > I was planning to make it even easier and let Windows do the job for us, > just using RegisterWaitForSingleObject(). Does the same - one thread per > 64 backends, but we don't have to deal with the queueing ourselves. Oh, good call -- I keep forgetting the native thread pool exists.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера