Thanks for that.

This looks like something I will have to raise within the FreeRTOS
system support, as none of the examples seem to use this wrapper
function.

Regards,

Edward Harris
Cyan Technology 

-----Original Message-----
On Behalf Of [EMAIL PROTECTED]
Sent: 08 September 2008 16:56
To: Mailing list for lwIP users
Subject: Re: [lwip-users] PPPoS and ordinary Ethernet (not PPPoE)
underFreeRTOS

While I can't help you with the PPPoS (or ppp at all), I can tell you
that you have to take care of destroying tasks in the port: you have to
cope with thread functions returning, lwIP doesn't delete threads. If
threads have to be deleted before returning in your environment, you can
solve this using a wrapper function around the task functions being
called. In this wrapper function, when the task function returns, you
can delete the thread.

Simon


Edward Harris wrote:
> Hello all.
>
> Has anyone had PPPoS and the normal Ethernet (not PPPoE) running under
> LwIP at the same time? I seem to suffer corruption on my Ethernet
> interface when I try this. If I turn off the PPPoS then the Ethernet
> works fine.
>
> Also, whilst looking at the PPPoS, it appears the pppmain function
just
> returns if it fails to connect, but under the system support I have
> (FreeRTOS), this isn't the right thing to do as tasks should never
> return. pppOverSerialOpen() creates a new thread that starts with the
> pppmain function. Is this a bug, or have I misunderstood something
here?
>
> Thanks in advance
>
> Edward Harris
> Cyan Technology
>
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
>   



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to