Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison MasterLoop.c @ 220:fb75c4b52d32
Fixed sequential version
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 05 Mar 2012 13:59:02 +0100 |
| parents | 91d0d2e06719 |
| children |
comparison
equal
deleted
inserted
replaced
| 54:0a014ebbca35 | 63:4da3d2932592 |
|---|---|
| 338 if( !gotLock ) return; //go back to core loop, which will re-start master | 338 if( !gotLock ) return; //go back to core loop, which will re-start master |
| 339 | 339 |
| 340 | 340 |
| 341 //====== Start Gate-protection ======= | 341 //====== Start Gate-protection ======= |
| 342 vicGate->gateClosed = TRUE; | 342 vicGate->gateClosed = TRUE; |
| 343 coreMightBeInProtected= vicGate->preGateProgress != vicGate->exitProgress; | 343 coreMightBeInProtected= (vicGate->preGateProgress != vicGate->exitProgress); |
| 344 while( coreMightBeInProtected ) | 344 while( coreMightBeInProtected ) |
| 345 { //wait until sure | 345 { //wait until sure |
| 346 if( vicGate->preGateProgress == vicGate->waitProgress ) | 346 if( vicGate->preGateProgress == vicGate->waitProgress ) |
| 347 coreMightBeInProtected = FALSE; | 347 coreMightBeInProtected = FALSE; |
| 348 if( vicGate->preGateProgress == vicGate->exitProgress ) | 348 if( vicGate->preGateProgress == vicGate->exitProgress ) |
