Subversion Repositories Kolibri OS

Rev

Rev 2118 | Rev 2146 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2118 Rev 2137
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: 2118 $
8
$Revision: 2137 $
9
 
9
 
10
 
10
 
Line 301... Line 301...
301
mutex_unlock:
301
mutex_unlock:
Line 302... Line 302...
302
 
302
 
303
        pushfd
303
        pushfd
Line 304... Line 304...
304
        cli
304
        cli
-
 
305
 
305
 
306
        lea edx, [ecx+MUTEX.next]
306
        lea eax, [ecx+MUTEX.next]
307
        mov eax, [edx]
307
        cmp eax, [ecx+MUTEX.next]
308
        cmp eax, edx
Line 308... Line 309...
308
        mov [ecx+MUTEX.count], 1
309
        mov [ecx+MUTEX.count], 1
309
        je @F
310
        je @F