/kernel/trunk/core/sync.inc |
---|
27,7 → 27,7 |
ok=$ |
push eax |
mov eax,dword [0x3010+second_base_address] |
mov eax,[eax+0x4] |
mov eax,[eax+TASKDATA.pid] |
mov [name],eax |
pop eax |
sti |
61,7 → 61,7 |
local start_wait,first_wait,inc_counter,end_wait |
push eax |
mov eax,[0x3010+second_base_address] |
mov eax,[eax+0x4] |
mov eax,[eax+TASKDATA.pid] |
start_wait=$ |
cli |
cmp [name],dword 0 |
93,7 → 93,7 |
{ |
local ok,try_end |
mov eax,[0x3000+second_base_address] |
mov eax,[eax+0x4] |
mov eax,[eax+TASKDATA.pid] |
cmp [name],eax |
jz ok |
cmp [name],0 |