Rev 2143 | Rev 2166 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2143 | Rev 2150 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 2143 $ |
8 | $Revision: 2150 $ |
9 | 9 | ||
10 | 10 | ||
Line 292... | Line 292... | ||
292 | 292 | ||
293 | pushfd |
293 | pushfd |
Line 294... | Line 294... | ||
294 | cli |
294 | cli |
295 | 295 | ||
296 | mov eax, [ecx+MUTEX.wait.next] |
296 | mov eax, [ecx+MUTEX.wait.next] |
297 | cmp eax, [ecx] |
297 | cmp eax, ecx |
Line 298... | Line 298... | ||
298 | mov [ecx+MUTEX.count], 1 |
298 | mov [ecx+MUTEX.count], 1 |
299 | je @F |
299 | je @F |