Re: bonobo bug? Help needed



Elliot Lee wrote:

>
> > Is someone able to reproduce that delay?
>
> Are you running on some operating system that does not have a /dev/random?
>
> The ORBit in CVS needs to be able to get truly random numbers. The
> portable implementation plays with setitimer() etc. in order to generate
> these, and creating each new object requires these random numbers, so at
> least on my system creating objects using this portable genrand
> implementation requires around 50ms.

I'm talking about a 20s delay (not ms)

>
>
> If you come up with a better RNG for the platform you are using, I am more
> than willing to take patches.
>

I use linux 2.2.9, and I have a /dev/random

> ls -l /dev/random
crw-r--r--   1 root     root       1,   8 Jun 30  1998 /dev/random






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]