Simplify Win32 Signaling code

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Simplify Win32 Signaling code
Дата
Msg-id Pine.GSO.4.58.0506020921350.20182@dvp.cs
обсуждение исходный текст
Список pgsql-patches
This patch simplified Win32 signaling code per discussion in hackers. In
this implementation, each process will have a named (by its pid) mutex,
named shared memory area and named event in global namespace. The process
is
sending/receiving signals as the following:

(*) the process who kill the signal:
 - Grab the named mutex, set signal bit in target process's shared memory
area and SetEvent(), then it is done;

(*) the process who should receive the signal:
 - the main thread of this process could be awakened by the event from
waiting status(like semop()) or CHECK_FOR_INTERRUPTS() actively; -- there
is
no other threads of the process;

Details could be found in this thread and follows:
http://archives.postgresql.org/pgsql-hackers/2005-05/msg01388.php


Regards,
Qingqing

Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: lastval()
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Simplify Win32 Signaling code