Re: bonobo bug? Help needed



On Thu, 18 Nov 1999, Dietmar Maurer wrote:

> Dietmar Maurer wrote:
> 
> > Dietmar Maurer wrote:
> >
> > > I've just noticed that view creation takes a very long time. You can
> > > test this with the sample-container by adding a
> > simple-paint-component.
> > > If you now add new views you can see the delay (try to add more than
> > 10
> > > views). I think this is a bug.
> > >
> >
> > After an update to the newest ORBit the behaviour is still the same
> > (sometimes you must add more than 30 views until the error occurs).
> > Sometimes
> > there is a very long delay (up to 20s and more) when adding a new view.
> >
> > Does someone has an idea how to locate such bug? There is no error
> > message, only the long delay.
> 
> 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.

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

-- Elliot
Do not meddle in the affairs of dragons,
for you are crunchy and good with ketchup. 



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