From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98117 invoked by alias); 14 Jan 2019 15:53:52 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@gcc.gnu.org Received: (qmail 98105 invoked by uid 89); 14 Jan 2019 15:53:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=spare, preprocessor, REQUEST X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-pf1-f174.google.com Received: from mail-pf1-f174.google.com (HELO mail-pf1-f174.google.com) (209.85.210.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Jan 2019 15:53:50 +0000 Received: by mail-pf1-f174.google.com with SMTP id w73so10519111pfk.10 for ; Mon, 14 Jan 2019 07:53:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vHveEuKFgB/5JHltkyr/t7caEXtTF1bJBzpd3tr2xXo=; b=VYhMh67sq5WqzWDl7boO3YZ0VsiNXdBXm6DYW0l6VhgnzQvmE4KBqY1l/80cJz2/Xh HB0BShAQV1CmyBPCtrsghJUHdwAl2vhuCVyZwp8td5paUa3aeZimBSZjVFRk51KfcwVQ nQugO7ZidQw9XyV72KzHtertY7b6SVSTwj2CLpWhr0UC5j/Am7J5eJ4kQnlGuyxia5C1 KwOHXAHKFYpab2mVQcNROyVYJVctxO43sL5cG7Y5D9IgzLcZS471oWfxYyFk3RZJXnVZ U+e7t/Yw+gWmJEJ6O3+sDx/vkUfhYNJTBsdpZXa4+p6N/WPIZyDAyfnqTvZNxp3RroYm xIdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vHveEuKFgB/5JHltkyr/t7caEXtTF1bJBzpd3tr2xXo=; b=CGCCNd0AHiQAe8i2L5HeJhXLlDq3e/+NnlJN4Jv54QVA7lCrhlYhduf3ZN6ckqRrca 2VbgWRgkiaCaMbxFew7oVAUxMsdNE3d0aSkCvb+eGpbrs+DANlVSniMO26GCoQB20Q7i hZ+hjtB1+CtTdJpnjcneu+UgHfOOQGeApDFePRhHbFO9ANwGBLUY2hl+bAlIcEvNlj2K PouM8HLDqFQQCfLp6lhq3XA4p6b2eRqF53dbwCvJssWOlRESzfNfUJvgfikbiDIRTOYE QzkRkQwcyYYum5P15ZmkHTJw5zJRqIScy6ophZRB2RMmyXTFT5OWxMThxudZ3UydxGWZ QpRQ== X-Gm-Message-State: AJcUukfcZrnDl7P6ndnT2kC3D9I2Jeltxti6WBNZx5WPSbL3ynGLgPV9 WGJRiut9syp83hraKJSNN5ZRHIPtoisk3tS5gc1vVOnY X-Google-Smtp-Source: ALg8bN6ih01KTwqzU2Vxl7mOOcKLLAmrHeuP9F8XZJ3fclcZtQqD/Lcb1IoFehS+GnktrhjX97Xkf8Nx6kLVG1ZALg8= X-Received: by 2002:a63:88c7:: with SMTP id l190mr22930962pgd.110.1547481228323; Mon, 14 Jan 2019 07:53:48 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Tue, 01 Jan 2019 00:00:00 -0000 Message-ID: Subject: [FEATURE REQUEST] Implement gcc_jit_sig_atomic_type. To: jit@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00042.txt.bz2 Each target of gcc defines `SIG_ATOMIC_TYPE', which is then used to implement the built-in preprocessor macro `__SIG_ATOMIC_TYPE__', which is then used by to typedef `sig_atomic_t'. This type is used, for example, when writing POSIX-compliant signal handlers. It is defined as: "An integer type which can be accessed as an atomic entity even in the presence of asynchronous interrupts made by signals." This is a feature request to expose this type to libgccjit by providing the following function: gcc_jit_type *gcc_jit_sig_atomic_type (gcc_jit_context *ctxt) -- Marc P.S.: Depending on my spare time, I may be able to write a patch that would implement this feature request.