how i can determine utcb loaction in order to make thread

Jason Philip mored1759 at gmail.com
Sat Mar 26 22:53:05 CET 2011


ok, I discover that the piece of code sort of work. The part
of code that assigns new location to new thread seem to
cause the problem. Now I solve that part this part of 
code do not work:

void func(void)
{
   printf("thread start\n");
}

L4_MsgTag_t msg;
L4_Clear(&msg);
L4_Append(&msg,(L4_Word_t)func);
L4_Append(&msg,(L4_word_t)stack);
L4_Load(&msg);
L4_Send(tid);

when i run the program it do not display "thread start", all 
other debugging messages show except this. can someone please
help?





More information about the l4-hackers mailing list