forked from KolibriOS/kolibrios
* New sysfunction 70.9, create folder
* Deleted obsolete 58.4 (create folder 8.3 on hd) * Updated docs * Bugfixes (file system; core; direct screen access), improvements (sysfn 70.3) * KFar 0.21, full error handling, folder creation (with new kernel) git-svn-id: svn://kolibrios.org@321 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -208,6 +208,7 @@ end if
|
||||
.err_file:
|
||||
xor eax, eax
|
||||
mov [application_table_status],eax
|
||||
mov eax, ecx
|
||||
ret
|
||||
endp
|
||||
|
||||
@@ -951,15 +952,16 @@ align 4
|
||||
wait_mutex:
|
||||
push eax
|
||||
push ebx
|
||||
.do_wait:
|
||||
cmp dword [ebx],0
|
||||
je .get_lock
|
||||
call change_task
|
||||
jmp wait_mutex
|
||||
jmp .do_wait
|
||||
.get_lock:
|
||||
mov eax, 1
|
||||
xchg eax, [ebx]
|
||||
test eax, eax
|
||||
jnz wait_mutex
|
||||
jnz .do_wait
|
||||
pop ebx
|
||||
pop eax
|
||||
ret
|
||||
|
Reference in New Issue
Block a user