Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.c @ 75:f6990e1ba998
new sequential version
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Thu, 02 Jun 2011 13:55:51 +0200 |
| parents | 5ff1631c26ed |
| children | 9ddbb071142d |
line diff
1.1 --- a/VMS.c Thu Jun 02 12:45:02 2011 +0200 1.2 +++ b/VMS.c Thu Jun 02 13:55:51 2011 +0200 1.3 @@ -276,6 +276,7 @@ 1.4 //Instead of un-suspending threads, just call the one and only 1.5 // core loop (sequential version), in the main thread. 1.6 coreLoop_Seq( NULL ); 1.7 + flushRegisters(); 1.8 1.9 } 1.10 #endif 1.11 @@ -704,7 +705,11 @@ 1.12 void 1.13 endOSThreadFn( void *initData, VirtProcr *animatingPr ) 1.14 { 1.15 +#ifdef SEQUENTIAL 1.16 + asmTerminateCoreLoopSeq(animatingPr); 1.17 +#else 1.18 asmTerminateCoreLoop(animatingPr); 1.19 +#endif 1.20 } 1.21 1.22
