From commits-return-6662-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Tue Apr 7 17:11:47 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3F82A180663 for ; Tue, 7 Apr 2020 19:11:47 +0200 (CEST) Received: (qmail 62710 invoked by uid 500); 7 Apr 2020 17:11:46 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 62701 invoked by uid 99); 7 Apr 2020 17:11:46 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2020 17:11:46 +0000 From: GitBox To: commits@nuttx.apache.org Subject: [GitHub] [incubator-nuttx] xiaoxiang781216 edited a comment on issue #619: Uninterruptible semaphore waits breaks cancellation. Message-ID: <158627950640.7828.92973714553557627.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Tue, 07 Apr 2020 17:11:46 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit xiaoxiang781216 edited a comment on issue #619: Uninterruptible semaphore waits breaks cancellation. URL: https://github.com/apache/incubator-nuttx/issues/619#issuecomment-610510939 @patacongo semaphore has two usage in NuttX: 1.Protect the shared data just like a light pthread_mutex_t 2.Signal something happen just like a light phtread_cond_t Should we return -ECANCEL/-EINTR just only for item 2? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services