Apr 9, 2020 08:15 PM
(This post was last modified: Apr 9, 2020 08:17 PM by zNinja.)
Finally finished test concept. All ingredients needed to build event loop system.
TimerService could be more optimized, but it does very nice job. If anyone is interesting to give opinion I will be happy.
Output
TimerService could be more optimized, but it does very nice job. If anyone is interesting to give opinion I will be happy.
Output
PHP Code
<?php
call in main thread
call in other thread
time interval call
timeout should run first
timeout should run second
time interval call
time interval call
timeout call in other thread
time interval call
time interval call
time interval call
time interval call
time interval call
time interval call
timeout should be called 10000 milliseconds after program start, time paused:10000
cleaning up
thread poll clean up ok
timer service clean ok
ref_counter:0
ref_aloc:30
ref_dealoc:30

