Changeset 2489 in Sophya for trunk/SophyaPI/PIext/piacmd.cc
- Timestamp:
- Dec 29, 2003, 1:41:57 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.cc
r2486 r2489 344 344 { 345 345 Commander::SetCurrentPrompt(pr); 346 if (mImgApp) mImgApp->GetConsole()->SetPrompt(pr); 346 if (mImgApp) { 347 ZSync(mImgApp->getMutex()); 348 mImgApp->GetConsole()->SetPrompt(pr); 349 } 347 350 } 348 351 … … 350 353 void PIACmd::ShowMessage(const char * msg, int att) 351 354 { 355 /* 356 Il faut faire quelque chose pour gerer correctement ca en multithread 352 357 char va = (att == 0) ? 0 : PIVA_Magenta; 353 if (mImgApp) mImgApp->GetConsole()->AddStr(msg, va); 354 } 358 if (mImgApp) { 359 ZSync(mImgApp->getMutex()); 360 mImgApp->GetConsole()->AddStr(msg, va); 361 } 362 */ 363 Commander::ShowMessage(msg, att); 364 }
Note:
See TracChangeset
for help on using the changeset viewer.