lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8461] Added return value to tcpip_init()


From: Martin Velek
Subject: [lwip-devel] [patch #8461] Added return value to tcpip_init()
Date: Sat, 17 May 2014 10:54:31 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #2, patch #8461 (project lwip):

That's my mistake. Please consider the patch as invalid one. The
SYS_THREAD_NULL comes from my implementation of sys_arch.h.

Your comment lead me to an idea to keep "void" as the return value and to use
assertion similar to LWIP_ASSERT("sys_thread_id .... some message",
!sys_thread_valid(&sys_thread_id));

There is a need to add sys_thread_* macros. I will work on it and submit new
patch.



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8461>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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