Using the GNU Compiler Collection (GCC)
thread+manager 源代码
汇集 thread+manager 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
unit Thread; interface uses Common,CallSelf,RegSet,VarUnit,ShareData; // 待插线程回调函数 procedure ThreadPro(X: Integer); stdc…
#include #include #include #include #include #include #include "assert.h" #include "mem.h" #include "thread.h" #inc…
/* * $Id:$ * Generic version: no threads. * by Wolfram Gloger 2004 */ #include struct thread_st { char *sp; /* stack…
/* * $Id:$ * Solaris version * by Wolfram Gloger 2004 */ #include #include #ifndef STACKSIZE #define STACKSIZE 32768 #endi…
/* * $Id: thread-st.h$ * pthread version * by Wolfram Gloger 2004 */ #include #include pthread_cond_t finish_cond = PTHREA…
/* * $Id:$ * sproc version * by Wolfram Gloger 2001, 2004 */ #include #include #include #ifndef STACKSIZE #define STACKSI…
Using the GNU Compiler Collection (GCC)
#include #pragma hdrstop #include #include #include #include #include #include "main.h" #include "thread.h" #incl…
#ifndef threadH #define threadH //---------------------------------------------------------------------------- #include #incl…