From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 6A4D477E2B for ; Fri, 5 Dec 2014 14:07:02 -0800 (PST) Received: by mail-wg0-f42.google.com with SMTP id z12so2016160wgg.15 for ; Fri, 05 Dec 2014 14:05:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=kFIwltMw2OGEQS/7XucmqWWN045iL7R6ZTpSxFiEbaI=; b=HvY7bBNt+Y591QJjwlcQz1xO5AgDVZnNqciPfFXJefOaOUzbwdJJw+BnqG0Lr7qjKx BbCO1JK9YJixZoOat5UUxirOeVkNNYc0731w19dXCZ0Jl4Lwc7vfCd60SxZT+B1eMWHy gAYxgS1luR4R3m7toPNZFQhGZ6e6grnJg40y4mVjxhW0MMNFJP3FcTXRVOhDcJm7D+89 V88m/cHLWMsKGPK4+cHkiw7XX/+9fOyoxQYJ8VuwvvNzFnDbZs0ISZgX9pspM6+kzpYt DVlD4OtqtLhEh49vq3SgHSOwhhcjAN79AM8wCQWa6i6dz0+lmMHNE9rvVSvGmvue6MC0 lung== X-Received: by 10.194.175.202 with SMTP id cc10mr27985432wjc.27.1417817119197; Fri, 05 Dec 2014 14:05:19 -0800 (PST) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id eu8sm3812298wib.21.2014.12.05.14.05.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Dec 2014 14:05:18 -0800 (PST) Date: Fri, 5 Dec 2014 22:05:15 +0000 From: Adam Thompson To: Karl Dahlke Message-ID: <20141205220515.GL14122@toaster.adamthompson.me.uk> References: <20141105161636.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8cpS+6Cx+xtICsjy" Content-Disposition: inline In-Reply-To: <20141105161636.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] Threads X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2014 22:07:02 -0000 --8cpS+6Cx+xtICsjy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 05, 2014 at 04:16:36PM -0500, Karl Dahlke wrote: > I think a seg fault in any thread brings down the entire process - > so perhaps leaning a little towards separate processes, > if we do separate functionality. Indeed, that was my thinking. Although threads are lighter in terms of overhead, they also don't provide the isolation and flexibility we need. > Can still use ipc, in its various forms, for communication, > even common memory for global or session variables, > though I don't know how well ipc ports to windows. I'm not sure about portability either (see earlier emails) but for the minute I've done some work with this stuff on Linux before and have a few ideas how we could put things together. > Sure, processes are less efficient than threds, > but we're not doing a number crunching simulation here. Yeah, and as stated above, we get more flexibility with processes. Cheers, Adam. --8cpS+6Cx+xtICsjy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUgiwbAAoJELZ22lNQBzHOAugIAIES9lvPRLLX1+EYEzQK4kGV 09fX9EC141647jezWUkTB8YToigzlW7LTDQxJul8fnWDGRwH5xfVHqf37ReCuPmh o9Eh//JvquxK8c1Z4Uc0zfRe8D5adBQ3lF1PvDy/hkXd1C5/HH9yzu3ZDNbN6l5g 2cUFZOGyeQqFQnq4A0McGGjYw2nLbY4R2q1mDnjGcUc0yeQwRTXmbXPByVMwqqqQ oPQ3r6V1ZgW7YWJ3/XwQPQNZr5095uFpjgghFNYAW0m26yWJ49ZElsOAftSmNPc1 +9i4jkFeSNoHAyFmVYaKyKyaCY+f3iNTE/S1Ve/9xloAg6Jumm0BMKqxnl1cq8o= =FX6i -----END PGP SIGNATURE----- --8cpS+6Cx+xtICsjy--