lwip: fix thread reset value in 'sys_arch_unprotect()'

Fixes #866.
This commit is contained in:
Christian Prochaska 2013-08-30 15:17:07 +02:00 committed by Norman Feske
parent 3e8e55ec16
commit 3cb6dba572
1 changed files with 4 additions and 4 deletions

View File

@ -359,7 +359,7 @@ extern "C" {
global_mutex()->counter--;
else {
global_mutex()->counter = 0;
global_mutex()->thread = 0;
global_mutex()->thread = (Genode::Thread_base*)-1;
global_mutex()->lock.unlock();
}
}