[erlang-patches] Emake on SMP

Nicolas Charpentier nc@REDACTED
Thu Jan 29 16:58:16 CET 2009


Hi,
Here is a proposal to make parallel compilation with emake.
The patch is based on OTP R12 b5 source code.

I modified the make:process/3 function in order to let it spawn a 
process per file to compile. The 'main' process wait for the result of 
all children before to return.
I let an 'after' clause in the receive loop in order to not get stuck if 
one compilation never notify its result.


Regards,
----
Nicolas Charpentier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_make.erl
Type: text/x-erlang
Size: 1328 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090129/74931a44/attachment.bin>


More information about the erlang-patches mailing list