copy xhv_rand and xhv_last_rand in threads clone
authorDavid Mitchell <davem@iabyn.com>
Fri, 28 Feb 2014 14:37:13 +0000 (14:37 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 28 Feb 2014 14:37:13 +0000 (14:37 +0000)
commit186460900eddc03b1e140296f25d2a6bf5fb9ec9
tree6b89794fa7fe3ad9e1566046946492480e86795e
parent111f73b5d79a652d1b6c6e3df3c6cd4c14c17ea7
copy xhv_rand and xhv_last_rand in threads clone

valgrind complains about these fields being uninitialised when cloned into a
new thread, because they aren't copied. It's fairly harmless, since these
fields are just used to perturb hash key iteration; but for completeness,
clone these fields too.
sv.c