From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 3D754791CA for ; Sun, 8 Dec 2019 00:07:36 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 1001) id EEC39C009; Sun, 8 Dec 2019 09:07:33 +0100 (CET) Date: Sun, 8 Dec 2019 09:07:18 +0100 From: Dominique Martinet To: Geoff McLane Cc: edbrowse-dev@edbrowse.org Subject: Re: [edbrowse-dev] tidySetOptBool vs tidySetOptInt on debian Message-ID: <20191208080718.GA10185@nautica> References: <20191207171534.GA194728@toaster> <20191207184354.GA5418@nautica> <20191207200147.ca1a7b961f790d11feab8fe7@gmail.com> <20191207193433.GA15586@nautica> <20191207194928.GD194728@toaster> <20191207224543.ec830db69d404376505a33ea@gmail.com> <20191207221625.GA12745@nautica> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Geoff McLane wrote on Sun, Dec 08, 2019: > At the moment, my os windows build fails on 'main.c:140 - if (ti == > pthead_self())`, since you can not compareĀ  structures in that > way... but maybe this is just windows specific... but the docs > suggest if (pthread_equal(t1, t2)) ... Sorry for that one, since pthread_t is an int on linux I didn't notice. Agreed `if (pthread_equal(t1, pthread_self()))` is the proper way of doing it -- Dominique