Re: task msging
- Posted by useless Sep 15, 2009
- 1761 views
Not exactly. In the context of that fight, it was about the subtask yielding the parent or root task, not itself.
Consider:
I'll throw you. you are displaced i pass something, you recieve it
I'll throw TO you. --
task1 yields the parent parent is displaced task1 passes control, parent recieves it
task1 yields TO the parent --
useless,
and bewildered
Yes, and you still haven't understood that when you yield, there is no choice in the act of yielding, who will be the next to execute. You simply yield, and the task scheduler decides who goes next. Execution could return to you immediately.
And you still have not learned i do understand that. I have a number of apps setting up tasks, and until one of them hits a blocking OS call, they all run 0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,etc. When running just one task, it has ALWAYS run 0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,etc, do you understand? It's the way i task_scheduled them. Until they cannot complete in alloted time, and don't yield, the sequence of executions aren't mixed up. And yes, for the 400th time, i understand they can get mixed up, and i don't care, but that's how they have been running.
<and he prattles on some more, like he did for days on the devlist, telling me it ain't as i describe above.>
And this is what i call abuse, he tells me i have no clue, over and over and over, yet my code runs the way i want it to, and the way i describe it. And he'll tell me yet again, this is the way it is, it doesn't happen like that. He will attempt to keep pounding into my head that my code doesn't run like he says it should, no matter that he has never seen my applications here. No matter what i do, it isn't happening correctly, the Matt way, unless it's not like i want it.
useless