Hi,
how did you get the pointer you got?
That part (the guy who gave you the pointer) should have taken a reference on the task basically,
or otherwise locked against the task going away.
In giving you advice it would help tremendously if you actually posted your code...
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--