Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Advogato post for 2000-02-25 01:57:44

KRN is now multithreaded! Ok, not really, in at least two ways.

One way in which KRN is not mul­ti­thread­ed, is in that it is done us­ing GNU Pth, which is not "re­al" mul­ti­thread­ing, but co­op­er­a­tive userspace mul­ti­thread­ing. Of course that if I had to make KRN reen­trant and thread­safe, it would not be mul­ti­thread­ed in any way.

The oth­er way in which KRN is not mul­ti­thread­ed is that it is not fine enough in its gran­u­lar­i­ty. There are chunks of things which don't spawn thread­s, and lock the UI thread, thus lock­ing KRN. But those are easy to fix: wait un­til some­one com­plains it block­s, then make it spawn and look as a re­spon­sive de­vel­op­er ;-)

Al­so, I port­ed kdestu­dio's dock­wid­get back to KDE 1, and am adopt­ing it to do use­ful MDI-­like things (ie: dock­ing, not re­al MDI).

Fi­nal­ly: the re­port pro­gress­ing frame­work is there. All that's need­ed now is make it do pro­gress­bars in­stead of print­ing on the ter­mi­nal, and make it work on all long ac­tion­s...


Contents © 2000-2024 Roberto Alsina