Not sure if I am approaching a project from the wrong direction, but I wonder how the system clock may be used as an input to a Julia program. Say, every 50mS I want a signal (like an interrupt) to start a process. I don’t want the program to check all the time to see if 50mS has passed (because then the program spends a lot of time just checking the time). I would like the program to not do anything until the system clock triggers (or sends an interrupt signal) to the program. I am not sure if I can do that within a Julia program, or if I should approach this from the system side (have the system call the program every 50mS . . .)
More generally, does Julia have access to any of the system interrupts ?