From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 83B6377AD0 for ; Fri, 30 Aug 2019 15:09:03 -0700 (PDT) Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102]) by resqmta-ch2-01v.sys.comcast.net with ESMTP id 3op7ihlKorjWJ3p4mifKLW; Fri, 30 Aug 2019 22:09:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1567202940; bh=Umz6n3py63PsqNG1kppXrsAZ5UpV1acglMtprYzXdHE=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=bCTHLm0qLwwH5ffGVjxEtUwJcIZUPfE4eY9rnrnhTEo6Xo6F7GpEdW43rXZ1D7s7H djn/kLs0koaruHTX2T6e/YfS6ZHVTO79fJcb7IvZA2nl6zKm56pwxAO5p9gQ4KYk3a T6+7g69ziSMKlRKqhrJ4kQoke8ECT3BEzzyBmUp53vTCfsLIfUQpCZ6D3dfopuuA8G /2zHT3/38fPJbLCZhcl17YePLwvYCWiVFrEUuuoL7zvm4cyny0SLopsyHKHIsbGDXg SwZvpX2T+JjPZfRXlvAHMGC3lVsX6nSdmocHIya2VicvH3k55+1SphiMnqAm/0K+GT eZafbs+MV1oyw== Received: from unknown ([IPv6:2601:408:c303:3f49:21e:4fff:fec2:a0f1]) by resomta-ch2-06v.sys.comcast.net with ESMTPSA id 3p4liwdYnk31s3p4miKQYD; Fri, 30 Aug 2019 22:09:00 +0000 X-Xfinity-VMeta: sc=0;st=legit To:Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: 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: Fri, 30 Aug 2019 18:08:59 -0400 Message-ID: <20190730180859.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit The overrun bug you found has nothing to do with threading, and it's surprising nobody ran into it before. Latest commit should fix it. Still concerned that the system call creat() seemed not to be threadsafe. Yeah I'm not using it any more but still it should have worked. Maybe make a small threaded test program to create a few files in parallel and see what happens. Karl Dahlke