lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] [lwip users] using threads in our application safely ??


From: Durgaprasad Chivukula
Subject: Re: [lwip-users] [lwip users] using threads in our application safely ???
Date: Mon, 10 Oct 2005 14:52:15 +0200



On 10/10/05, Christiaan Simons <address@hidden> wrote:

lwip-users-bounces+christiaan.simons=address@hidden wrote on 10-10-2005
11:34:25:

>Posting code doesn't make the coders actually look at it,
>most of us dislike that. If you want implementation support
>you should be more specific than 'it doesn't work' and describe
>the problem in text please.
 
      I mean to say that , I posted this question already , but did not get any reply .. I do not mean with the code...  

>Ah this is better,
>As far as I can remember the TFTP protocol uses a state-machine.
>Can you tell us in which state the server is? And can you make
>the state transitions visible?
 
 
     I use the TFTP server from the linux system , not from the lwip .While getting a file from the remote server,  I can observe the first 512 bytes (which tftp server has to send ) on my client side , using ethereal , but as I said  tapif_input halts after some time , I thought it would be the problem from my TFTP client timeout mechanism , so I increased the timeout of my TFTP client , no change.


>Please do not guess, do you know whats actually going on in the code?

>If there are multiple threads in the design you shouldn't remove
> or disable them. What are these threads for?
 
     I created only a single thread , there are no multiple threads , I saw in one of the lwip message list that we should create a new thread for sending and receiving , I do not know about my application , whether to use multiple threads . I have no idea of threading  , So I asked for an explanation of the thread mechanism which can be used safely in our applications,


>Ah, do not use gprof. For another project a colluege of mine
>crippled some code by adding profiling flags to a Makefile.
 
    Gprof , is ok with normal applications , but it has problems with threaded applications on Linux ,  Can we write an application on lwip  with out threading ...?`?? If so how can we do this...?
 

>It took me a week to find the root-cause.
 
   Where is the problem found , I mean the root cause of the probelm...???

>Sorry, I'm not going to look at your code for now.
 
  Please see the code when you find some time....
 
Regards
 
Durga  Prasad
Germany
 
 

 
 
     

Christiaan Simons

Hardware / Software Engineer
Axon Digital Design

+31 (0)13 511 66 66
+31 (0)13 511 41 51

address@hidden
http://www.axon.tv


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named.  If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]