From owner-freebsd-questions Sun Jul 8 9:42:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from beta.root-servers.ch (gamma.root-servers.ch [195.49.62.126]) by hub.freebsd.org (Postfix) with SMTP id E02A037B405 for ; Sun, 8 Jul 2001 09:42:51 -0700 (PDT) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 70035 invoked from network); 8 Jul 2001 16:42:50 -0000 Received: from dclient106-17.hispeed.ch (HELO athlon550) (62.2.106.17) by beta.root-servers.ch with SMTP; 8 Jul 2001 16:42:50 -0000 Date: Sun, 8 Jul 2001 18:43:47 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.53bis) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <186598221416.20010708184347@buz.ch> To: David Leimbach Cc: freebsd-questions@freebsd.org Subject: Re[2]: Passing data in C++ via stdin without waiting for the new process to complete In-Reply-To: <20010708104356.B5630@mutt.home.net> References: <114577608557.20010708130014@buz.ch> <3B484403.1BA9A21D@jak.nl> <84594262844.20010708173749@buz.ch> <20010708104356.B5630@mutt.home.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello David, Sunday, July 08, 2001, 5:43:56 PM, you wrote: > fork and execl!!! > execl replaces the current process. So fork then execl. Sounds pretty expensive. I think I'll go for a bunch of daemons that communicate via TCP/IP with the master one and then do whatever they need to. Forking forking the master daemon doesn't seem to be a very good idea as it sometimes gets pretty large and thus this would be pretty expensive... Best regards, Gabriel R -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBO0h/ucZa2WpymlDxAQEz6AgAlC83VUf47HfI51fWyHC3vuiVbX/bmMJT 2ZaR5UGFaUxXj8GOMUVVcQp1Def172/R04IukmO7XdscbsQft6cv2ISDPKWsL7Iz ghX5o17WBXXjRCOpK5aAvB52BDmtKqK475U7pUaihyUMRPCmhWxe+qBf9+Relog6 yjmi+jD7M1Q0ehBsQqEsrUIAOGvfiXhzSTwZCtB81YT9/KF3jUA6Epflj4q97RkU 9imY1DCo2QEK3rGkmBKh7r+7bLgb9Qj1/16AVcGlLV1gEO+8L3sZKcBgvEEy+cEi /2pDcY/k/tCa0R2I7hz0fNiCpzzNi08Y4Sn24m4vmSMq+NayCZbKPw== =CAHy -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message