[okl4-developer] L4_Send and L4_Wait

Hal Ashburner hala at ok-labs.com
Mon Nov 5 15:45:10 EST 2007


On Fri, 2007-11-02 at 17:01 +0900, Choi, SuGil wrote:
>  
> Thanks for your help.
>  
> The client thread is created in wombat linux kernel.
>  
> How can I find out the priority of the client thread?

Break into the kernel by issuing "Ctrl + K" in the console to get to the
L4 kernel debugger.
"?" will show you all the options, the one you want is "q" 
which lists the current threads.
The L4 threads in the linux kernel are "L_syscall" and "L_timer"

 
> In addition, is the thread created in wombat kernel L4 thread?

What precisely do you mean when you say "thread created"
What is the code you are using to create a thread?


 
> SuGil.
> 
> -----?? ???-----
> From: "Hal Ashburner" <hala at ok-labs.com>
> From Date: 2007-11-02 ?? 4:02:47
> To: "Choi, SuGil" <sooguri at etri.re.kr>
> Cc: "developer at okl4.org" <developer at okl4.org>
> Subject: Re: [okl4-developer] L4_Send and L4_Wait
> 
> 
> 
> 
> On Fri, 2007-11-02 at 15:38 +0900, Choi, SuGil wrote:
> > Hi,
> >
> > 
> >
> > I have difficulty in testing client server program.
> >
> >
> 
> <snip>
> 
> >
> > When the function_A never returns (infinite loop), L4_Send is
> blocking
> > indefinitely
> >
> > 
> 
> >
> > I want that the client thread can run as long as the sent  message
> is
> > received by the server
> >
> > 
> >
> > even if the function_A never returns. Could you please tell me what
> I
> > have to do more.
> >
> 
> >
> Hi SuGil.
> Are the two threads the same priority?
> The behaviour you are seeing would be consistent with the thread
> running
> function_A being of a higher priority than the sending thread.
> 
> Hope this helps.
> 
> --
> Kind regards,
> Hal Ashburner
> 
> 
> 
> 
> 
-- 
Kind regards,
Hal Ashburner




More information about the Developer mailing list