Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/ttpcmn/ttcmn.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8828 by zmatsuo, Fri Jul 3 14:43:44 2020 UTC revision 8860 by zmatsuo, Sat Jul 25 16:00:24 2020 UTC
# Line 1397  int WINAPI CommRead1Byte(PComVar cv, LPB Line 1397  int WINAPI CommRead1Byte(PComVar cv, LPB
1397                  return 0;                  return 0;
1398          }          }
1399    
1400          if ((cv->HLogBuf!=NULL) &&          if ((cv->HLogBuf!=NULL) && (cv->LCount>=InBuffSize-10)) {
             ((cv->LCount>=InBuffSize-10) ||  
              (cv->DCount>=InBuffSize-10))) {  
1401                  // 自分のバッファに余裕がない場合は、CPUスケジューリングを他に回し、                  // 自分のバッファに余裕がない場合は、CPUスケジューリングを他に回し、
1402                  // CPUがストールするの防ぐ。                  // CPUがストールするの防ぐ。
1403                  // (2006.10.13 yutaka)                  // (2006.10.13 yutaka)
# Line 2693  cleanup: Line 2691  cleanup:
2691    
2692    
2693  /*  /*
2694   *   *
2695   * [return]   * [return]
2696   *   1以上   アプリが使用可能なCOMポートの総数   *   1以上   アプリが使用可能なCOMポートの総数
2697   *   0       アプリが使用可能なCOMポートがない   *   0       アプリが使用可能なCOMポートがない

Legend:
Removed from v.8828  
changed lines
  Added in v.8860

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26