From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Make error checking for thread functions stricter. Date: Sat, 9 Jun 2018 18:48:58 +0200 Message-ID: References: <20180602204231.92373-1-phst@google.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000abd4e1056e384bfa" X-Trace: blaine.gmane.org 1528562879 11124 195.159.176.226 (9 Jun 2018 16:47:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Jun 2018 16:47:59 +0000 (UTC) Cc: Philipp Stephani To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 09 18:47:54 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fRh1q-0002iZ-8r for ged-emacs-devel@m.gmane.org; Sat, 09 Jun 2018 18:47:50 +0200 Original-Received: from localhost ([::1]:40995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRh3u-0007tJ-9u for ged-emacs-devel@m.gmane.org; Sat, 09 Jun 2018 12:49:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRh3A-0007sx-I8 for emacs-devel@gnu.org; Sat, 09 Jun 2018 12:49:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRh39-0005M3-NT for emacs-devel@gnu.org; Sat, 09 Jun 2018 12:49:12 -0400 Original-Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:40365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRh39-0005Ld-HP for emacs-devel@gnu.org; Sat, 09 Jun 2018 12:49:11 -0400 Original-Received: by mail-oi0-x22c.google.com with SMTP id f79-v6so14498132oib.7 for ; Sat, 09 Jun 2018 09:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=quPiaGwyNWbKTaoOo8HHU15mC6KXqVLNm4PRTeIF+dw=; b=uf3MIoHkGPDmHE6ovQioJVt687H5zetbjm1NuPtEVnRaCrYVdcXqKiiKgA9+sZY2ge F22W6e9B9dMfEVbkYNIoz7P+XqN1BZ2B0Hl1gOQE4Dns8QydEP1Yqd4P/A/dilpBZlYv O8pX/f9GJ3QVCQ37RtTXmBQE2FDAn2y3xTxN5vb1aM0cEAIurw0RxC3NW5kJoycgA100 YdMJDv7A24UPC44ISAs7vYBNFsi7hiYa/dToP3HI6SEbpK20u8sjBc+bR4B2NGZUfy8g AEzJHe2dudPcdFDwszJCnOH0a9EhlCciQdMBT/JrAxC88hqKY7xl1NmjmTv56gtu6x9i acxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=quPiaGwyNWbKTaoOo8HHU15mC6KXqVLNm4PRTeIF+dw=; b=t/AfRHrWHEJ9CfJdRtVA/Cvp43BJzZ6CXTHBAzX23D6L84PnckmFFVIA2YQeIc4EyR uE4ZZypSS0d/tuglcDEADU4vEV9dKydqKyY8ayYlGXaXwFtBVN+kjD6psKRi7TgfXlne SG7xmKqxo0a+NTRqAWqkE/ct9DY/aC6EtBuSUU4kqZaCdTmyUqM3cpp2FTAGXYZCNr9y vmmzHof0ejjH6ZO5FVuGufumqBWFu42daot/OaZoz4tXHyoa2c5YDoM8OUwFGpFuaPRg YQUTri3oIJo/prQel7dj6br+510o+KwUoT7/UZmlD8l+Y5EEwVvbnIkNMspmC1cdGcOS KbBg== X-Gm-Message-State: APt69E2VHc+mAQm044qDsi9ghpviaQbqASVBhXd//2z/I3y9s2NFyEHb 6/Z8fv3bGD/Tuac4c2/aA/C+RCzL4d17ezGZ4dblqQ== X-Google-Smtp-Source: ADUXVKIkA1NamGDPjO6OkmDEQJKX6gjKMfBZFe5s3xlC8EWrZK/ZB1fL21kQz4vQ8vDNXQ51Tx2MSQKVG5ptFpHQ9ag= X-Received: by 2002:aca:dfc1:: with SMTP id w184-v6mr5719178oig.237.1528562950328; Sat, 09 Jun 2018 09:49:10 -0700 (PDT) In-Reply-To: <20180602204231.92373-1-phst@google.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226141 Archived-At: --000000000000abd4e1056e384bfa Content-Type: text/plain; charset="UTF-8" Philipp Stephani schrieb am Sa., 2. Juni 2018 um 22:42 Uhr: > * src/systhread.c (sys_thread_create): Change return type to bool. > Check for errors returned by pthread_attr_setstacksize and > pthread_attr_destroy. > (sys_mutex_init, sys_cond_init): Abort on errors. > (sys_mutex_lock, sys_mutex_unlock, sys_cond_wait) > (sys_cond_signal, sys_cond_broadcast, sys_cond_destroy): Check for > errors in debug mode. > Pushed to master as b4dcac2d6a. --000000000000abd4e1056e384bfa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Sa., 2. Juni 2018 um 22:42=C2=A0Uhr:
* src/systhread.c (sys_thread_create): Change retur= n type to bool.
Check for errors returned by pthread_attr_setstacksize and
pthread_attr_destroy.
(sys_mutex_init, sys_cond_init): Abort on errors.
(sys_mutex_lock, sys_mutex_unlock, sys_cond_wait)
(sys_cond_signal, sys_cond_broadcast, sys_cond_destroy): Check for
errors in debug mode.

Pushed to master = as b4dcac2d6a.
--000000000000abd4e1056e384bfa--