-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Reported by Likai Liu:
Find in v1.8.0
Thread occupying CPU forever(if no_preempt).
Set NET_CONTEXT_SYNC_RECV y
If calls net_context_recv more than once use a same context, the thread will occupy CPU forever.
in code:
while (k_sem_take(&context->recv_data_wait, K_NO_WAIT)) {
;
}
The issue can be reappeared easily by using shell command “zperf> udp.upload 10.237.164.178 1111 1 1K 1M”
@jukkar jukka :)
(Imported from Jira ZEP-2637)
Metadata
Metadata
Assignees
Labels
area: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug