On Tue, Jan 10, 2017 at 1:36 PM, Dennis Clarke <dcla...@blastwave.org> wrote: > > re: https://bz.apache.org/bugzilla/show_bug.cgi?id=45615 >
re: long running (blocking?) apr_skiplist test. First, is it this test that takes a huge time to complete or was it the same for the previous tests too (and which ones)? > > As for the blocking rand, well hrmmm, not unless I was trying to read a > ton of data from /dev/random wherein : > > Devices random(7D) > > NAME > random, urandom - Strong random number generator device > > SYNOPSIS > /dev/random > /dev/urandom apr_skiplists use the rand() function for its implementation, but on most systems (but I can't tell about Solaris), rand() does not use /dev/[u]random, so it should not block. Could you strace (truss?) a simple main() that calls rand() to confirm? Regards, Yann.