| От | Joseph S. Barrera III |
|---|---|
| Тема | Re: Signals on Win32 (yet again) |
| Дата | |
| Msg-id | 3FE36417.8050909@barrera.org обсуждение исходный текст |
| Ответ на | Re: Signals on Win32 (yet again) ("Steve Tibbett" <stibbett@zim.biz>) |
| Список | pgsql-hackers-win32 |
Steve Tibbett wrote: >FWIW that method gets my vote - calling SleepEx(0) in some critical >places; I believe that will yield the CPU but not wait any time (so if >nothing else wants the CPU and there aren't any procedures that need >calling then it amounts to a no-op). > > The semantics are: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/sleepex.asp "A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. If there are no other threads of equal priority ready to run, the function returns immediately, and the thread continues execution." - Joe Barrera Former Microsoft Employee Currently 3PP at Sun
В списке pgsql-hackers-win32 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера