Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 26 Sep 2013 21:40:21 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: External node distribution (call for help)

On 2013-09-26 05:06, Solar Designer wrote:
> On Thu, Sep 26, 2013 at 12:42:51PM +1000, Michael Samuel wrote:
>> For external mode, wouldn't it be better to just extend the API to have
>> __num_nodes and __node_id?
>>
>> To avoid breaking API, the mode would need to define the two variables,
>> otherwise they're not multi-node compatible.
>
> We could do something like this, but it'd make programming of external
> modes more complicated and error-prone.

Just exporting node_min, node_max and node_count for use in External 
would be easy enough, and I presume it doesn't really add any overhead? 
It would only be error-prone and complicated if/when you opt to use it ;-)

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ