python - pq: Add the 'Queue' class for managing protocol transactions.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - pq: Add the 'Queue' class for managing protocol transactions.
Дата
Msg-id 20071108182534.673BE216D0E@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Add the 'Queue' class for managing protocol transactions.

This was originally in fe/tracenull.py, but it has been moved here as users of
'pq' are more than likely going to need something like this. The move here
demands some generalizations, so it's not an exact copy, but most of the
state-conscience code is the same. Notably, none of the thread safeties have been
carried over. This intentional omission was done in order to save cycles for
users that have no need for such safeties. Users in need of such a feature can
either subclass the Queue class or wrap instances with a protective object.

Modified Files:
--------------
    pq/src:
        transam.py (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/transam.py.diff?r1=1.10&r2=1.11)

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

Предыдущее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - pq: Raise exception instances.
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - pq: Remove the Block interface and fix bugs in Passive.