Hello ladies and gents,
I would like to implement a solution in a Driver that executes a particular function ‘periodically’. The function serves a specific purpose and execution time is short, but I’d like to invoke it at ‘random’ intervals. I am also open to an Event based option, where a randomly generated timer interval sets an event that invokes this function (thread).
Is there anything I need to consider with such a design in the kernel? Are there any best practices I should be aware of as it pertains to random thread execution. Any particular combination of NT API’s I should use to implement this? Thank you for all input.