gittup/tup — comment on commit 44ee56fdeba9034e9c2fc81e8ad0d62bec9fc51a
File: src/tup/option.c line 22
By anatol:

Hi

On Thu, Oct 27, 2011 at 5:36 PM, gittup <
reply@reply.github.com>wrote:

> On Thu, Oct 27, 2011 at 5:03 PM, Anatol
>
> wrote:
> > Is there any way to add here "function" initializer? Instead of hardcoded
> string - a function will be invoked. I would like to use it to initialize
> num_jobs based on number of processors in system.
>
> I think a generic function initializer would be overkill here. A case
> can certainly be made for the num_jobs and #processors - maybe
> num_jobs can be an explicit number like "4" or a value like "2n",
> where "n" is taken to mean the number of processors. Or do you see a
> use for it in other fields as well?
>

I don't think that function initializer is something that will be widely
used. From other side it is not very difficult to add - I end up with this
code
https://github.com/anatol/tup/commit/119c43a2c7525ffd4d546c9db859d906273bb0c7