forked from KolibriOS/kolibrios
1918b713af
pixlib3: enable linear texture filtration libsync: user space synchronization git-svn-id: svn://kolibrios.org@5602 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
339 B
NASM
19 lines
339 B
NASM
format MS COFF
|
|
use32
|
|
|
|
MUTEX.lock equ 0
|
|
MUTEX.handle equ 4
|
|
|
|
section '.text' align 16 code readable executable
|
|
|
|
public @mutex_destroy@4
|
|
|
|
@mutex_destroy@4:
|
|
push ebx
|
|
mov ecx, [ecx+MUTEX.handle]
|
|
mov eax, 77
|
|
mov ebx, 1
|
|
int 0x40
|
|
pop ebx
|
|
ret
|