IssueNo:#I3IBCL

Description:use posix instead of lwip self
Feature or Bugfix:Bugfix
Binary Source:No
This commit is contained in:
YOUR_NAME
2021-04-12 10:57:50 +08:00
parent 80fe0c7d2a
commit 247959fcbc
4 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -42,7 +42,7 @@ extern sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void
void UdpTestTask(void *p)
{
void(p);
(void)p;
LogPrintln("net_socket_test_002.c enter");
g_testCase = TEST_CASE;
int sfd;
@@ -119,11 +119,10 @@ void UdpTestTask(void *p)
return;
}
int UdpTest(void)
int UdpTest()
{
int ret = sys_thread_new("udp_test", UdpTestTask, NULL,
STACK_TEST_SIZE, TCPIP_THREAD_PRIO);
ICUNIT_ASSERT_NOT_EQUAL(ret, -1, 23);
return ret;
}
+2 -2
View File
@@ -312,7 +312,7 @@ static struct netif *CreateBtNetIf()
static void UdpTestNetifTask(void *p)
{
void(p);
(void)p;
LogPrintln("net_socket_test_011.c enter");
g_testCase = TEST_CASE;
int sfd;
@@ -367,7 +367,7 @@ static void UdpTestNetifTask(void *p)
return;
}
int UdpTestNetif(void)
int UdpTestNetif()
{
int ret = sys_thread_new("udp_test_netif", UdpTestNetifTask, NULL,
STACK_TEST_SIZE, TCPIP_THREAD_PRIO);