LWIP patch for sockets.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5739 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2013-05-18 07:48:11 +00:00
parent 460ae80f92
commit 7f97aa2059
3 changed files with 8 additions and 0 deletions

Binary file not shown.

BIN
ext/lwip-1.4.1_patched.zip Normal file

Binary file not shown.

View File

@ -90,6 +90,14 @@ void sys_sem_signal(sys_sem_t *sem) {
chSemSignal(*sem);
}
/* CHIBIOS FIX: specific variant of this call to be called from within
a lock.*/
void sys_sem_signal_S(sys_sem_t *sem) {
chSemSignalI(*sem);
chSchRescheduleS();
}
u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) {
systime_t time, tmo;