204kis00022yav 1996/02/11 04:21:15 前へ 後へ 上へ

fkissイベントタイミング解説 その2


;-*-Picture-*-

                * fkiss event time chart 2 *
================================================================

fkiss (v0.18 later) calcurate event delay time at alarm() event.
Delay times of other events are ignored.
Because, It is a hard work to calcurate event delay time
on server-client window system.
 
;@EventHandler
;@begin()	timer(1,10)
;@alarm(1)	timer(2,20)	unmap("a.cel")
;@alarm(2)

        *(window mapped)
        |     delay (depend on server and client system)
        |    /  begin()
        |<- x ->|     delay (depend on client system)
        |       |    /  timer(1,10)
        |       |<- d ->|
	|       |
        |       |		*(ideal alarm1 time)
        |       |<-- 10 msec. ->|	alarm(1)
        |       |               |<- d ->|
        |       |               |       |       timer(2,20)
        |       |               |       |<- d ->|
	|	|		|       |        unmap("a.cel")
	|	|		|       |<- d -->|
	|	|		|	          *("a.cel" unmapped)
	|	|		|<------ x ------>|
        |       |               |        	  |	*(ideal alarm2 time)
        |       |               |<------ 20 msec. ----->|	alarm(2)
	|       |               |                 |     |<- d ->|
	|	|		|	          |     |
Time:	-x      +0      	+10               +10+x +30	     ->future


;@EventHandler
;@press("a.cel")	timer(1,20)
;@alarm(1)      unmap("a.cel")

	*("a.cel" pressed)
        |
	|       press("a.cel")
	|<- x ->|       timer(1,20)
        |       |<- d ->|
        |       |       	*(ideal alarm1 time)
	|       |<-- 20 msec. ->|       alarm(1)
        |       |               |<- d ->|       unmap("a.cel")
        |       |       	|       |<- d ->|       *("a.cel" unmapped)
	|       |       	|<--------- x --------->|
	|       |	        |       		|
	|       |	        |       		|
Time:   -x      +0		+20                     +20+x	     ->future

================================================================

以上,これまた書きかけのドキュメントでした.

                                        UHD98984@pcvan.or.jp
                                                        yav

前へ 後へ 上へ