|
|
| Line 35: |
Line 35: |
| ** https://groups.google.com/d/msg/mozilla.dev.b2g/dr3RrYUvP-w/Q51za7NvIWwJ | | ** https://groups.google.com/d/msg/mozilla.dev.b2g/dr3RrYUvP-w/Q51za7NvIWwJ |
| ** Keep the tracks of tasks | | ** Keep the tracks of tasks |
| ** Record how tasks are post among threads & processes
| |
| ** Remember when tasks are post, dispatched, completed
| |
| ** Remember relation-ships among tasks
| |
| ** Task IDs are <otid,sn> pairs (tid is the thread id)
| |
| *** otid is the thread id of origin site
| |
| ** The track of a task is a list of <tid>:<otid>:<rtid>:dtime:stime:ftime
| |
| *** tid is the unique id of the runnable/task. Every task has an unique id.
| |
| *** rtid is the thread id of running thread
| |
| *** dtime is the dispatched time
| |
| *** stime is the start time
| |
| *** ctime is the finished time
| |
| ** Task type - names of handlers
| |
| ** TODOs | | ** TODOs |
| *** data retrieving tool and protocol | | *** data retrieving tool and protocol |