[ovs-dev] [threads 09/11] Use random_*() instead of rand(), for thread safety.
blp at nicira.com
Tue Jun 25 16:23:56 UTC 2013
On Mon, Jun 24, 2013 at 02:46:45PM -0700, Ansis Atteka wrote:
> On Wed, Jun 19, 2013 at 1:17 PM, Ben Pfaff <blp at nicira.com> wrote:
> > None of these test programs are threaded, but has little cost and means
> > that "grep" doesn't turn up any instances of these thread-unsafe functions
> > in our tree.
> > Signed-off-by: Ben Pfaff <blp at nicira.com>
> Did you consider to use random_range(N_FLOW_VALUES) here? It seems that you
> did this in other places.
You're right. I've now updated the patch to use random_range() in
More information about the dev