Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Event loop ingredients for elaboration

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
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 


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by zNinjaApr 9, 2020 09:46 AM 4 130 Apr 9, 2020 09:46 AM
Last Post: zNinja
[Java] by ohxerxeFeb 4, 2018 03:26 PM 3 304 Feb 4, 2018 03:26 PM
Last Post: matt
[Java] by prodigyhfSep 1, 2017 05:22 PM 0 221 Sep 1, 2017 05:22 PM
Last Post: prodigyhf