> if (thread_load(child, child_thread, stack) != 0) You have to pass the stack pointer for thread_load(). "stack" is a base address of the stack in this case.
> PS: program "sample/thread" run as normally except didn't return to cmdbox prompt :) Use "PROG=" instead of "TASK=" in your Makefile. You can not load the native (real-time) task from CmdBox. Kohsuke ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Prex-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/prex-devel
