Yes, I have 2 real time task which access the same connection, but one only 
sends and the second task read and send data.

This case should not case an assertion, its application problem to handle such 
case, but TCP/IP stack should not be affected with such or I am wrong

What can happened if both queue is embty, does lwip will crash?



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mumtaz Ahmad
Gesendet: Dienstag, 31. Oktober 2006 10:37
An: Mailing list for lwIP users
Betreff: Re: [lwip-users] Assertion : "tcp_enqueue: no pbufs on queue 
=>bothqueues empty"

Dear amir

Its most probably the mutiple threading issue.



----- Original Message ----- 
From: "Amir Bukhari" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, October 31, 2006 2:28 PM
Subject: [lwip-users] Assertion : "tcp_enqueue: no pbufs on queue =>
bothqueues empty"


> I use lwip in a embedded system, one time I have got this the following
message:
> "tcp_enqueue: no pbufs on queue => both queues empty"
> Exactly on this line:
> LWIP_ASSERT("tcp_enqueue: no pbufs on queue => both queues empty",
>       pcb->unacked == NULL && pcb->unsent == NULL);
>
> in tcp_out.c
>
> what case such assertion?
> ----------------------------------------------------------
> Amir Bukhari
> aquintos GmbH * integration experts
> Lammstraße 21 * 76133 Karlsruhe * GERMANY
> phone: 0721 / 516 38-0
> Mobile +49-179-7318737
> Mail: [EMAIL PROTECTED]
> Web: http://www.aquintos.com
>
>
>
> _______________________________________________
> 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