イフコンピュータ > MINERVA > マニュアル > レファレンス > 述語 > 非同期タイマー処理へのサポート > timer_start/2

timer_start/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

タイマーを始動します

timer_start(+Timer, +MilliSeconds)

timer_start/2は、タイマーを始動して、MilliSecondsミリ秒まで経過時刻をセットします。 タイマーがすでに始まっていたならば、それは止められて、新しい経過時刻でもって再起動されます。 タイマーが経過するとき、タイマーを作ったときに定義されたコールバック述語(timer_create/2を参照します)が呼ばれます。(それが『ヌル』でないならば)

引き数

Timer                タイマー
MilliSeconds        整数

この述語は、ISO-Prolog 標準の要件ではありません。

以下も参照して下さい

timer_close/1timer_create/2timer_is_active/1timer_start/2timer_stop/1

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/timer/timer_start/print_jp.html
published 2008/12/1 update 2001/5/17 (c) 1996-2006 IF Computer Japan
IF Computer 〒113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support 東京都文京区千駄木5-28-2   http://www.ifcomputer.co.jp
戻る> managed with ubiCMS