mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-26 10:49:37 +03:00
docky.asm: fix timeout for connect to @reshare
git-svn-id: svn://kolibrios.org@9877 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e3e9fce8d8
commit
669c8fa38a
@ -632,17 +632,16 @@ endp
|
||||
;-------------------------------------------------------------------------------
|
||||
LOAD_ICONS:
|
||||
mov esi, 0 ; esi is a counter of mem_open attempts
|
||||
mov edi, esi
|
||||
@@:
|
||||
; try to open shr memory, if failed then make 5 attempts more
|
||||
mcall SF_SYS_MISC, SSF_MEM_OPEN,icons_resname ; 0 = SHM_READ
|
||||
cmp edx, 5
|
||||
jz error_exit
|
||||
|
||||
cmp eax,0
|
||||
jne @f
|
||||
inc esi
|
||||
cmp esi,10
|
||||
je exit
|
||||
inc edi
|
||||
cmp edi,10
|
||||
je error_exit
|
||||
mcall SF_SLEEP, 70
|
||||
jmp @b
|
||||
@@:
|
||||
|
Loading…
Reference in New Issue
Block a user