1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #12296 from miri64/lwip/fix/sched_switch

lwip: sys_arch: replace sched_switch() with thread_yield_higher()
This commit is contained in:
Martine Lenders 2019-09-24 19:22:26 +02:00 committed by GitHub
commit 2e428e2786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,7 +218,7 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
abort();
}
mutex_lock(&params.sync);
sched_switch((char)prio);
thread_yield_higher();
return res;
}