Re: Bug in 0.9.1?



On Wed, 9 Aug 2000, Pawel Salek wrote:

> 
> On 09 Aug 2000 07:24 Matthew Guenther wrote:
> > I think threaded should become the default, but I'm not so sure we
> should
> > remove unthreaded.
> 
> I agree with entire statement.
> 
> > Personally, I use non-threaded for debugging, often it's easier to
> find the
> > bugs. 
> 
> So do I. The threaded version backtraces are often useless and we still
> have some lethal bugs to fix.
> 

I can see what you are saying - I do think that we need to have a good
look at what balsa uses threads for - most stuff can be done in idle loops
I think - only sending and retreiving really need there own thread.

My main problem with it is that in order to support both threaded/unthread
balsa we have ended up with a bit of a mess of #ifdefs and such like -
cleaning this up would be a lot of work.... I'm sure it is the root of a
lot of problems...

I will leave off removing threads for now, I will have a look at trying to
tidy up what we have. I think we judicous use of GDK_THREAD_ENTER in
libbalsa we can probably make things  much tidier so that much more of
the code is the same in both cases - this would be a big improvement...






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