[Waba-commits] CVS: waba/vm/linux nm_linux_b.c,1.13,1.14 nm_linux_b.h,1.9,1.10
Status: Abandoned
Brought to you by:
bornet
From: MURANAKA M. <mo...@us...> - 2001-09-02 07:24:06
|
Update of /cvsroot/waba/waba/vm/linux In directory usw-pr-cvs1:/tmp/cvs-serv5515/vm/linux Modified Files: nm_linux_b.c nm_linux_b.h Log Message: Added Thread#currentThread(). It is just definition and still dummy. Index: nm_linux_b.c =================================================================== RCS file: /cvsroot/waba/waba/vm/linux/nm_linux_b.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** nm_linux_b.c 2001/08/19 01:49:56 1.13 --- nm_linux_b.c 2001/09/02 07:24:03 1.14 *************** *** 265,268 **** --- 265,276 ---- //*** Isao's Multithread implementation END *** + //*** This "ThreadCurrentThread()" method is called from "curentThread()" method. + Var ThreadCurrentThread(Var stack[]) + { + Var v; + v.obj = 0; + return v; + } + void tickThread(void) { Index: nm_linux_b.h =================================================================== RCS file: /cvsroot/waba/waba/vm/linux/nm_linux_b.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** nm_linux_b.h 2001/08/18 20:26:21 1.9 --- nm_linux_b.h 2001/09/02 07:24:03 1.10 *************** *** 138,141 **** --- 138,144 ---- //*** Isao's Multithread implementation END *** + //*** This "ThreadCurrentThread()" method is called from "curentThread()" method. + extern Var ThreadCurrentThread(Var stack[]); + #define THERE_IS_SOME_THREADS (threadListCurrentSize > 0) |