From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8459 invoked by alias); 17 Mar 2015 09:21:38 -0000 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 Received: (qmail 8443 invoked by uid 89); 17 Mar 2015 09:21:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_20,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx3.zhaw.ch Received: from srv-mail-013.zhaw.ch (HELO mx3.zhaw.ch) (160.85.104.123) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Mar 2015 09:21:35 +0000 Received: from mx3.zhaw.ch (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 49212210 for ; Tue, 17 Mar 2015 10:21:33 +0100 (CET) Received: from [10.0.12.16] (clt-lab-t-6006.zhaw.ch [160.85.232.249]) by mx3.zhaw.ch (Postfix) with ESMTP id 2D1F720F for ; Tue, 17 Mar 2015 10:21:33 +0100 (CET) Message-ID: <5507F21B.1000900@zhaw.ch> Date: Tue, 17 Mar 2015 09:21:00 -0000 From: lesc User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' FROM_NAME_ONE_WORD 0.05, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_500_599 0, BODY_SIZE_7000_LESS 0, REFERENCES 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __USER_AGENT 0' X-IsSubscribed: yes Subject: Re: [ECOS] Once again, I need a binary semaphore X-SW-Source: 2015-03/txt/msg00002.txt.bz2 On 16.03.2015 18:17, Grant Edwards wrote: > Once again, I find I need a binary semaphore for a C application I'm > porting from another OS. And just using a mutex is not a option? (Sorry if you allready ruled that out, but you didn't metion why youd need that specific sync-mechanism). Serafin -- Serafin Leschke, BSc in Computer Sience UAS Zurich Research Assistant ZHAW, Zurich University of Applied Sciences InES, Institute of Embedded Systems Postfach Technikumstr. 22 CH-8401 Winterthur -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss