Re: Unixware 714 pthreads - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Unixware 714 pthreads
Date
Msg-id 4181249C.3080805@dunslane.net
Whole thread Raw
In response to Re: Unixware 714 pthreads  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:

>ohp@pyrenet.fr writes:
>  
>
>>if i do it a second time in the same session, blockme() never returns
>>    
>>
>
>  
>
>>I wonder if handle_sig_alarm is re-armed after being used
>>    
>>
>
>No.  Why should the signal handler need re-arming?
>
>  
>
>>or if sleep is used anywhere in the backend.
>>    
>>
>
>Nope.
>
>  
>

Actually, I just noticed that postmaster/pg_arch.c has a call to sleep() 
that needs to be removed ... I guess it snuck in after all that stuff 
was adjusted.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Unixware 714 pthreads
Next
From: Darcy Buskermolen
Date:
Subject: Re: Beta 4 on Debian Sarge (MIPS/MIPSEL)