Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;---------------------------------------------------------------------
  2. clear_thread:
  3.         call    get_memory_for_tread_stack
  4.         mov     [clear_thread_stack],eax
  5.         mcall   51, 1, clear_thread_start       ;, clear_thread_stack
  6.         ret
  7. ;---------------------------------------------------------------------
  8. clear_thread_start:
  9.         mcall   5,100
  10. @@:
  11.         mcall   23,10
  12.         cmp     eax,5
  13.         je      @f
  14.         mcall   15,3
  15.         mcall   68,13,[clear_thread_stack]
  16.         mcall   -1
  17. ;---------------------------------------------------------------------