Обсуждение: pgsql/src/include/storage s_lock.h

Поиск
Список
Период
Сортировка

pgsql/src/include/storage s_lock.h

От
tgl@postgresql.org
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/12/10 21:58:49

Modified files:
    src/include/storage: s_lock.h

Log message:
    Make sure that inlined S_UNLOCK is marked as an update of a 'volatile'
    object.  This should prevent the compiler from reordering loads and stores
    into or out of a critical section.