Многоцелевой модуль для работы с параллельными процессами в BP7.
Поддерживает "мутексы", обмен сообщениями между процессами,
"пайп-лайны", обработку исключительных ситуаций.
Заменяет ряд важных функций из модуля CRT. Есть пример использования.
Preemptive multithreading, Mutexes, Messages, Pipes,
Exception handling, exact Timer, CRT replacment and much more. |
13k |
{****************************************************************************}
{* *}
{* SSSS t EEEEE *}
{* S y y sss ttt ee mmm mm E x x *}
{* SSS y y s__ t e e m m m EEEE \/ *}
{* S y y s t e e m m m E /\ *}
{* SSSS yyy sss t eee m m m EEEEE x x UNIT *}
{* y *}
{* yyy *}
{****************************************************************************}
{* This unit is designed to greatly enhance the TP7/BP7 capabilities by *}
{* adding preemptive multitasking, nested exception handling, messaging, *}
{* pipes, mutexes and a few other system enhancements like a 6ms precise *}
{* timer or a FIFO queue for pointers. *}
{* *}
{* The most important CRT functions can also be found in this unit so that *}
{* CRT doesn't have to be imported. The "self" function returns a pointer *}
{* to the running thread; this is useful for message handling blocking *}
{* operations on threads. *}
{* *}
{* IMPORTANT NOTE: Due to DMPI host limitation the multithreading is only *}
{*
|