From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from resqmta-ch2-10v.sys.comcast.net (resqmta-ch2-10v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:42]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 5F0617789A for ; Thu, 29 Aug 2019 14:05:20 -0700 (PDT) Received: from resomta-ch2-04v.sys.comcast.net ([69.252.207.100]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id 3QDliL3uu5j7s3RbbiRU0i; Thu, 29 Aug 2019 21:05:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1567112719; bh=dFR6XU37yl8jOadATlBn9EluudqIwOeKtujAidJaQww=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=SsE65yTrS5UP/2BKuu6xkvjrLc2MD3rarzG770Iw97pCHahdFGI+a2gdsVMzRbT/f zo3Siy+s9dDDFe81QmQGdbjLJla9Jw6okYiHIpTOKzNKmFCPMSOyS6t3ZQA6LoY/MU E7ESuHeNWBa0aBrniapRB8og+fG7QpW6D3BVhbRbL+6tsNFZA1gCmyhh1VHGCGjJ2d h38FP/+lJrHp39XcDX8zH0XbzEglbciGQXacFbl1YcYgSVt3sU7Wn3oUkaINLfqzF9 d/ujoyHCCMs1G+gb8T3RJ7Px6NiDgsdm30S2JU8CrZlDwVg18m7jZPqBXF+sqssbRM ewtqFGdgs7PVw== Received: from unknown ([IPv6:2601:408:c303:3f49:21e:4fff:fec2:a0f1]) by resomta-ch2-04v.sys.comcast.net with ESMTPSA id 3RbaiRF2bi3Ue3Rbbi1t8Q; Thu, 29 Aug 2019 21:05:19 +0000 X-Xfinity-VMeta: sc=0;st=legit To:Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <313edde4-d7d6-23d0-fb07-65d5558fb64f@geoffair.info> User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Subject: [edbrowse-dev] Threads (fwd) Date: Thu, 29 Aug 2019 17:05:18 -0400 Message-ID: <20190729170518.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-179540 Content-Transfer-Encoding: 7bit This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-179540 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It sounds like the creat() call is not threadsafe. It opens a file on disk and while that io is running the other thread = spins up and runs into the creat call to open a second file, and boom. But why would creat not be threadsafe? Do you have to specify a different, threadsafe version of the c library? You use to have to do this on unix long ago, but the threadsafe version = has become the standard version. Oh and another complexity; if you do a pull you will find that creat = call is gone, I do it a different way now, but still, that way worked on my side and no idea why it wouldn't work = on windows. Karl Dahlke --nextpart-eb-179540--