home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / PMM / Developer / FD / thread_lib.fd < prev    next >
Encoding:
Text File  |  1999-03-12  |  581 b   |  28 lines

  1. * "thread.library"
  2. ##base _ThreadBase
  3. ##bias 30
  4. ##public
  5. *--- functions in V1.0 ---
  6. *
  7. * Thread managing functions:
  8. TLCreate(codeptr,regmask)(a0,d0)
  9. TLExit(value)(d0)
  10. TLJoin(thread)(a0)
  11. TLDetach(value)(d0)
  12. * Thread cancel functions:
  13. TLCancel(thread)(a0)
  14. TLSetCancel(boolean)(d0)
  15. * Scheduler managing functions:
  16. TLSetPrio(newprio)(d0)
  17. TLGetPrio(thread)(a0)
  18. * Mutex managing functions:
  19. TLMutexInit()()
  20. TLMutexDestroy(mutex)(a0)
  21. TLMutexLock(mutex)(a0)
  22. TLMutexTryLock(mutex)(a0)
  23. TLMutexUnlock(mutex)(a0)
  24. * Memory managing functions:
  25. TLAllocMem(bytesize)(d0)
  26. TLFreeMem(memptr)(a0)
  27. ##end
  28.