From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21968 invoked by alias); 4 Feb 2010 17:45:37 -0000 Received: (qmail 21959 invoked by uid 22791); 4 Feb 2010 17:45:37 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_40,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from n78.bullet.mail.sp1.yahoo.com (HELO n78.bullet.mail.sp1.yahoo.com) (98.136.44.42) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 04 Feb 2010 17:45:30 +0000 Received: from [216.252.122.219] by n78.bullet.mail.sp1.yahoo.com with NNFMP; 04 Feb 2010 17:44:18 -0000 Received: from [68.142.200.227] by t4.bullet.sp1.yahoo.com with NNFMP; 04 Feb 2010 17:44:18 -0000 Received: from [68.142.201.73] by t8.bullet.mud.yahoo.com with NNFMP; 04 Feb 2010 17:44:18 -0000 Received: from [127.0.0.1] by omp425.mail.mud.yahoo.com with NNFMP; 04 Feb 2010 17:44:18 -0000 Received: (qmail 98366 invoked from network); 4 Feb 2010 17:44:17 -0000 Received: from 207-212-80-187.systech.com (jay@207.212.80.187 with plain) by smtp107.biz.mail.sp1.yahoo.com with SMTP; 04 Feb 2010 09:44:17 -0800 PST X-Yahoo-SMTP: _6UaILCswBBhOX_6rRH7WS5y1ZaLCg-- Message-ID: <4B6B076C.6020405@systech.com> Date: Thu, 04 Feb 2010 17:45:00 -0000 From: Jay Foster User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.5) Gecko/20091130 Thunderbird/3.0 MIME-Version: 1.0 To: ecos-discuss@sources.redhat.com References: <471205.59207.qm@web51906.mail.re2.yahoo.com> <20091019104557.GA19013@sg-ubuntu.local> <964415.68782.qm@web51911.mail.re2.yahoo.com> <20091019135211.GA17646@sg-ubuntu.local> <404723.91676.qm@web51903.mail.re2.yahoo.com> <20091024123837.GA3998@sg-laptop> <738229.12555.qm@web51906.mail.re2.yahoo.com> <20091025132007.GA4436@sg-laptop> <005101ca5622$d9bf4c30$8d3de490$@gellatly@netic.com> <46171.9697145329$1256910809@news.gmane.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] pthread_kill return value X-SW-Source: 2010-02/txt/msg00011.txt.bz2 According to the man page for pthread_kill, the return value is supposed to be 0 on success and an error number (ESRCH, EINVAL) on error. However, the eCos implementation is returning 0 on success and -1 on error with errno set to the error number. It looks like the eCos pthread_kill() function is using the SIGNAL_RETURN() macro when it should be using the SIGNAL_RETURN_VALUE() macro. Am I reading this correctly? Jay -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss