From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111208 invoked by alias); 27 May 2016 20:59:46 -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 111196 invoked by uid 89); 27 May 2016 20:59:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_50,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.2 spammy=burn, cycles, H*r:sk:exchang, H*RU:sk:exchang X-HELO: exchange.hsv.pesa.com Received: from 67-63-150-35.arpa.kmcmail.net (HELO exchange.hsv.pesa.com) (67.63.150.35) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 May 2016 20:59:44 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 27 May 2016 20:59:00 -0000 Message-ID: <07FFDDED6CBCCE4E9FBD46AEC3EBFD4F02C5069C@exchange> From: "Michael W. Ellis" To: X-IsSubscribed: yes Subject: [ECOS] timed wait for cyg_io_read X-SW-Source: 2016-05/txt/msg00004.txt.bz2 Is there a way to do a timed wait for cyg_io_read? I have a thread that is blocking on cyg_io_read and I wish to signal the thread to exit in an orderly manner (using an event flag). I know that I can make cyg_io_read non-blocking and poll cyg_io_read and cyg_flag_poll but this would burn a lot of cycles doing nothing. Michael -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss