OpenSSL causing headache again with multithreading issues. I definitely wait the new backend for Mauku to eliminate multithreading completely. In the meantime, I should find (read: implement) another HMAC-SHA1 function than the one in OpenSSL Crypto library.
you will never eliminate multithreading, ive just added a whole swath of code to facilitate lazy image loading.
its working quite nicely and can even shell to wget from within the thread without really bugging the ui
@lcuk, the key is to put networking into a separate process (actually, processes). That way Mauku itself can focus only on GUI in a single thread. It is much easier to handle issues in small pieces rather than in one monolithic application. However, a brand new implementation of the communication between backend processes and GUI process consists of some thousands of lines of code in a separate library... ;)
@Devastator, I have backported some new modules, but it is only an ugly hack to make the current (old) version to work with a new Jaiku until the brand new Mauku is ready to be released.
10 comments so far
Valgrind found very useful. ;)
8 months, 2 weeks ago by hhedberg
hey hendrik, make your program write debug comments using the code to post comments.
you should identify the problem pretty quickly!
8 months, 2 weeks ago by lcuk
@lcuk, those comments could flood into #Mauku channel. :)
8 months, 2 weeks ago by hhedberg
heh hendrik - at least you would know its working
8 months, 2 weeks ago by lcuk
OpenSSL causing headache again with multithreading issues. I definitely wait the new backend for Mauku to eliminate multithreading completely. In the meantime, I should find (read: implement) another HMAC-SHA1 function than the one in OpenSSL Crypto library.
8 months, 2 weeks ago by hhedberg
you will never eliminate multithreading, ive just added a whole swath of code to facilitate lazy image loading. its working quite nicely and can even shell to wget from within the thread without really bugging the ui
8 months, 2 weeks ago by lcuk
Is this the new version that is being written for the #maemo 5.0 platform or the version that is being updated to work with the new Jaiku API?
8 months, 2 weeks ago by Devastator
Decided to implement OpenSSL locking functions after all. I will most likely to need HTTPS connections later.
8 months, 2 weeks ago by hhedberg
@lcuk, the key is to put networking into a separate process (actually, processes). That way Mauku itself can focus only on GUI in a single thread. It is much easier to handle issues in small pieces rather than in one monolithic application. However, a brand new implementation of the communication between backend processes and GUI process consists of some thousands of lines of code in a separate library... ;)
8 months, 2 weeks ago by hhedberg
@Devastator, I have backported some new modules, but it is only an ugly hack to make the current (old) version to work with a new Jaiku until the brand new Mauku is ready to be released.
8 months, 2 weeks ago by hhedberg