Doubt
Posted: Fri Feb 04, 2011 5:39 am
Guys, trying to create a gui system, I stop and I´m almost pulling all my heair off my head...
example.
I have to tasks, one is for main gui system, that task is all the time reading for event function like int 0xfe <- that one get event from
operating system.
other task is guiapp1, it is just an application that read event from OS too, that one reads int 0xfe.
but now is the biggest question...
I have an int 0xfe called from gui main system and it waiting for event from OS, then the task is switched to guiapp1, and inside my code from int 0xfe have all vars set and everything is set for that fisrt call from gui main system, if I call it again from guiapp1, should that two tasks make mess at that int 0xfe ?
how can I hold " take care " at this case ? please
ps: I don´t speak much english, I´m so sorry for all mistakes .
example.
I have to tasks, one is for main gui system, that task is all the time reading for event function like int 0xfe <- that one get event from
operating system.
other task is guiapp1, it is just an application that read event from OS too, that one reads int 0xfe.
but now is the biggest question...
I have an int 0xfe called from gui main system and it waiting for event from OS, then the task is switched to guiapp1, and inside my code from int 0xfe have all vars set and everything is set for that fisrt call from gui main system, if I call it again from guiapp1, should that two tasks make mess at that int 0xfe ?
how can I hold " take care " at this case ? please
ps: I don´t speak much english, I´m so sorry for all mistakes .