From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Avoiding threads in the daemon Date: Thu, 18 Dec 2014 17:32:52 +0100 Message-ID: <87mw6lym95.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nix-dev-bounces@lists.science.uu.nl Errors-To: nix-dev-bounces@lists.science.uu.nl To: Eelco Dolstra Cc: guix-devel , nix-dev List-Id: guix-devel.gnu.org Tml4IGNvbW1pdCA1MjRmODkgY2hhbmdlZCBsaWJzdG9yZSB0byB1c2UgZm9yayArIHVuc2hhcmUg aW5zdGVhZCBvZgpjbG9uZSgyKS4gIFRoZSBwcm9ibGVtIGlzIHRoYXQsIGluIGRvaW5nIHNvLCBp dCBhbHNvIHJlbW92ZWQgdXNlIG9mCkNMT05FX05FV1BJRCBhbmQgdGh1cywgKDEpIHRoZSBidWls ZCBwcm9jZXNzIG5vIGxvbmdlciBoYXMgUElEIDEsIGFuZAooMikgYnVpbGQgcHJvY2Vzc2VzIGVu ZCB1cCBpbiB0aGUgZ2xvYmFsIFBJRCBzcGFjZS4KCkFkZGluZyBDTE9ORV9ORVdQSUQgdG8gdGhl IHVuc2hhcmUoMikgY2FsbCBhcHBlYXJzIHRvIGJyZWFrIHRoaW5ncyAoZm9yCmluc3RhbmNlLCBm dXR1cmUgY2FsbHMgdG8gcHRocmVhZF9jcmVhdGUgYnkgdGhhdCBwcm9jZXNzIGZhaWwgd2l0aApF SU5WQUwsIG90aGVyIGNhbGxzIHRvIGNsb25lKDIpIGZhaWwgd2l0aCBFTk9NRU4pIHdoaWNoIG1h eSBiZSB3aHkKQ0xPTkVfTkVXUElEIGlzbuKAmXQgdXNlZCBoZXJlLgoKVGhlIHN0YXRlZCByZWFz b24gZm9yIHRoaXMgY29tbWl0IGlzIHRoaXM6CgogY29tbWl0I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