Hi,
i'm currently coding a ui framework. This framework is event oriented (not like libwiigui wich is a "real time" framework).
So, i've the main thread wich is the UI thread. If we need to execute tasks, the best practice is to create a subthread (in order to don't freeze the ui) with events to report task progression (ie for increment progression bar, display logs etc...).
The pb is that when i execute a task in the ui thread (i do it by sequencing the task and executing one sequence on each screen update) all is ok. But when i put it in a thread, i've a memory corruption.
To add, the UI is thread safe (i've coded an invoker mechanism), So i think my pb doesn't comes from here. I suspect an error in the memory management in the subthread (heap limit excedeed without a null return with malloc, stack overflow... I don't really know what happen).
Someone as encounter the same pb as me here: [
wiibrew.org]
So, do you have any clues about the resolution of this pb?