Re: [HACKERS] can't compile

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] can't compile
Дата
Msg-id 199905060525.BAA15170@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-hackers
> Does your chanage in LockResolveConflicts() work fine ?
> 
>         if (SHMQueueEmpty(&MyProc->lockQueue) && waitQueue->size &&
>             topproc->prio > myprio)
>         {
> 
> First, LockResolveConflicts() is called not only from LockAcquire() but also
> from ProcLockWakeup(). ProcLockWakeup() is called from a lock releasing
> process. Does it make sense to check MyProc->lockQueue ?
> 
> Second,when LockAcquire() calls LockResolveConflicts(),MyProc->lockQueue
> is always not empty. So does it make sense too ?

Seems it does not work, as Vadim has pointed out.  Seems he wants to
work on fixing this.

I am curious what lock is in the lockQueue when it is called from
LockAcquire()?

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [HACKERS] posmaster failed under high load
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] posmaster failed under high load