For Programmers: Free Programming Magazines  


Home > Archive > Tcl > January 2006 > Re: thread::mutex lock problem, a bug?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: thread::mutex lock problem, a bug?
Zoran Vasiljevic

2006-01-28, 7:05 pm

No need to thank me, as I was the one who broke it
in the first place. Albeit I was also the one who wrote it
hence we're 1:1 :-)

As Jeff used to say: you can't make an omellette without
breaking some eggs...

I've checked in my changes into the SF and you might
want to update your CVS copy, compile and try again.
If all goes well with your tests and when I check this
on Windows next w (have only a Mac now) I will
roll-out the 2.6.3 as this one deserves the bugfix release.

Under the hood...

I had to completely revamp the way the primitives are
created/locked/disposed. The most difficult part was
assuring things are not deleted if somebody is using
them which is quite tricky especially with mutexes.
By doing this I found couple of other bugs and (definitely)
added some new ones which now just wait to get exposed :-(
(well, the parallel programming is not easy).
So if you give it a test and find something still broken, yell back.

Cheers
Zoran

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com