mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 11:43:09 +03:00
fix mutex_unlock
git-svn-id: svn://kolibrios.org@2137 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e251af9421
commit
c33c39a421
@ -303,8 +303,9 @@ mutex_unlock:
|
||||
pushfd
|
||||
cli
|
||||
|
||||
lea eax, [ecx+MUTEX.next]
|
||||
cmp eax, [ecx+MUTEX.next]
|
||||
lea edx, [ecx+MUTEX.next]
|
||||
mov eax, [edx]
|
||||
cmp eax, edx
|
||||
mov [ecx+MUTEX.count], 1
|
||||
je @F
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user