]> j8takagi.net git repositories - yacasl2.git/commit
monitor終了時、exitするのではなく、execに戻るよう内部動作を修正
authorj8takagi <j8takagi@nifty.com>
Mon, 6 Jul 2026 09:33:20 +0000 (18:33 +0900)
committerj8takagi <j8takagi@nifty.com>
Mon, 6 Jul 2026 09:33:20 +0000 (18:33 +0900)
commit88469358f2ff2944f934dee9314a62e3fa6320d8
tree9c420ac9e1ba04548159aade1add90b01e53becf
parente26b80afdff9aa490f9a55d9773643cf39ece731
monitor終了時、exitするのではなく、execに戻るよう内部動作を修正

- exitの場合、casl2 -mのmonitor終了時にメモリーリーク発生するため
- monitor終了時、execmode.monitorとexecmode.stepをfalseにする
- exec側の処理
  -- execmode.monitorがfalseでexecptr->startがfalseかexecptr->endがtrueuの場合は即時終了
  -- それ以外の場合は、execmode.monitorがfalseのままCOMET IIを実行
include/monitor.h
src/exec.c
src/monitor.c
src/struct.c