Re: [pok-devel] hello can u teach me about error code 251

[ Thread Index | Date Index | More lists.tuxfamily.org/pok-devel Archives ]


On Mon, Aug 29, 2011 at 9:57 AM, 김정석 <kjs1725@xxxxxxxx> wrote:

hello

i have questions. 

 

when i used the pok_thread_create (&tid1, &(tattr)); fuction in activity.c , then i received the error

error number is 251.

(activity.c is located in part1 of partitions-threads examples)

 this pok_thread_create (&tid1, &(tattr)) function must only use  in the main.c ??

 

POK_ERRNO_MODE = 251;

 

but i don't know "POK_ERRNO_MODE"

 

can u explain about POK_ERRNO_MODE  ?


If you look at kernel/core/thread.c, in pok_partition_thread_create, you will see that the thread can only be created if the partition is in INIT mode.
 
By the way, networking is working again. ;)

--
Laurent Lec



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/