From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26400 invoked by alias); 4 Jul 2002 09:33:38 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 26381 invoked from network); 4 Jul 2002 09:33:35 -0000 Received: from unknown (HELO hhlx01.visionsystems.de) (62.145.30.242) by sources.redhat.com with SMTP; 4 Jul 2002 09:33:35 -0000 Received: from kallisto.intra.visionsystems.de ([192.168.1.3]) by hhlx01.visionsystems.de (8.11.1/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g649XUd13697 for ; Thu, 4 Jul 2002 11:33:33 +0200 Message-Id: <200207040933.g649XUd13697@hhlx01.visionsystems.de> Received: from there (development1.intra.visionsystems.de [192.168.1.36]) by kallisto.intra.visionsystems.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 3HCZDRCB; Thu, 4 Jul 2002 11:33:30 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Roland =?iso-8859-1?q?Ca=DFebohm?= To: ecos-discuss@sources.redhat.com Date: Thu, 04 Jul 2002 02:33:00 -0000 References: <200207040822.g648Lvd13551@hhlx01.visionsystems.de> In-Reply-To: <200207040822.g648Lvd13551@hhlx01.visionsystems.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ECOS] Signal handling X-SW-Source: 2002-07/txt/msg00034.txt.bz2 On Thursday, 4. July 2002 10:21, Roland Caßebohm wrote: > Hi, > > I send signals with pthread_kill() from the snmp agent, which is not a > pthread, to other threads, which are pthreads. > If I send a signal from the snmp agent to the main thread it receives it. > But if I send a signal to another thread, which is created from main it > doesn't take effect. > But if I send the same signal from another pthread not from the snmp agent > it works. > > Why does it not work from the snmp agent thread to another pthread than > main? > > Thanks you, > Roland I have changed the initialisation code of the snmp agent, so that it is a pthread and now it works. -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss