From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Epiphanov Sergei To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] =?koi8-r?b?8sHCz9TBINDPxCAyLjYuyCDTINDSydfR2svPyiDLzyDX0sXNxc7O2c0=?= =?koi8-r?b?IM/UzcXUy8HNLg==?= Date: Mon, 11 Oct 2004 11:42:19 +0400 User-Agent: KMail/1.6.2 References: <200410081748.07275.serpiph@nikiet.ru> <1097454436.2793.0.camel@underdark.interexc.com> In-Reply-To: <1097454436.2793.0.camel@underdark.interexc.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Message-Id: <200410111142.20131.serpiph@nikiet.ru> Content-Transfer-Encoding: quoted-printable X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 07:37:04 -0000 Archived-At: List-Archive: =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 11 =EF=CB=D4=D1=C2=D2=D8 2004 04:2= 7 Serge Pavlovsky =CE=C1=D0=C9=D3=C1=CC: > It is not safe to call mutex functions from a signal handler. In > particular, calling `pthread_mutex_lock' or `pthread_mutex_unlock' from > a signal handler may deadlock the calling thread. =F7=D3=A3 =C2=D9 =C8=CF=D2=CF=DB=CF, =D4=CF=CC=D8=CB=CF =D2=C1=C2=CF=D4=C1= =D0=D2=CF=C7=D2=C1=CD=CD=D9 =CE=C5 =CD=C5=CE=D1=C5=D4=D3=D1, =C5=D3=CC=C9= =D7=D3=C5 =C6=D5=CE=CB=C3=C9=C9=20 pthread_mutex_lock =C9 pthread_mutex_unlock =DA=C1=CB=CF=CD=CD=C5=CE=D4=C9= =D2=CF=D7=C1=D4=D8. --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E5=D0=C9=C6=C1=CE=CF=D7 =F3=C5=D2=C7=C5= =CA