delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/20/13:07:14

Date: Sun, 20 Feb 2000 11:16:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <richdawe AT bigfoot DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: virtual MUltiCPU - compiling on more than one computer
In-Reply-To: <38ADDD73.DAE9E845@bigfoot.com>
Message-ID: <Pine.SUN.3.91.1000220111555.25009W-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 19 Feb 2000, Richard Dawe wrote:

> 1. Master make creates a datagram Unix domain socket for co-ordinating
> makes, e.g. with a name like /tmp/make/<pid>
> 
> [ Note that the namespace used by libsocket Unix domain sockets is
>   separate to the filesystem namespace. ]
> 
> 2. Master make "starts" a child make, passing it the Unix domain socket
> path as a command-line argument.
> 
> 3. Child make creates a datagram Unix domain socket for communication with
> master make.
> 
> 4. Child make informs master make of the address of its Unix domain
> socket.
> 
> 5. Master make spawns off lots of children using steps 1-4.
> 
> How easy would it be to add this to make?

I don't know; I suggest to look at the file job.c in the Make sources.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019