You can sort of think of a task as a "deferred" function call.
Explicitly making a function call (in the traditional sense), causes
the program to jump to that function and execute the code it contains
immediately.
Posting a task, however, tells the program to set the function aside
until all of i
Tasks are like threads or processes. The task function gets put on
an execution queue and is then fired up sometime later. The post task
command returns, nearly, immediately and only indicates if the function
was put on the queue successfully.
MS
Roberto wrote:
Hi all,
I read the tutorials on t
Ok, I will try, here. I am using TinyOS-2.x, so I will only comment on
this version.
Correct me if I have misunderstood.
a normal C function is really like a private function to your TinyOS
application (thread return until a function is finished), while a task
(you can post it, thread return i
Hi all,
I read the tutorials on tinyos-2.x but i still haven't understood the
difference between a function (in C style) and a task
Does anyone explain me this difference, please?
Thanks in advance
--
Platform: Linux Fedora
TinyOS version: 2.x
Programmer: MIB510
Device(s): Micaz, Stargate