mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-30 20:53:08 +03:00
3dee3b0598
git-svn-id: svn://kolibrios.org@2000 a494cfbc-eb01-0410-851d-a64ba20cac60
17 lines
472 B
PHP
17 lines
472 B
PHP
;---------------------------------------------------------------------
|
|
clear_thread:
|
|
call get_memory_for_thread_stack
|
|
mov [clear_thread_stack],eax
|
|
mcall 51,1,clear_thread_start ;, clear_thread_stack
|
|
ret
|
|
;---------------------------------------------------------------------
|
|
clear_thread_start:
|
|
mcall 5,100
|
|
@@:
|
|
mcall 23,10
|
|
cmp eax,5
|
|
je @f
|
|
mcall 15,3
|
|
mcall 68,13,[clear_thread_stack]
|
|
mcall -1
|
|
;--------------------------------------------------------------------- |