timeout
timeout copied to clipboard
timer.c: Tickless hierarchical timing wheel
Would it be possible to generate a release that is cryptographically signed with a key ? It would allow us to import the signed release, and use the signature to...
The source code cannot be understood timeouts_update bitwise ........
Hi there, It seems from my reading of the code that this implementation doesn't support overflow. That is, say if a timeout of TIMEOUT_MAX + 1 is added before all...
Hi @wahern , recently I am learning your timeout module and found some problems, such as some slot will be check twice during carry, bit operation has redundancy, so i...
The callback macro gets confused by the argument naming.
When make with TIMEOUT_CB_OVERRIDE macro: ```shell make CPPFLAGS=-DTIMEOUT_CB_OVERRIDE ``` I get error "incomplete type 'struct timeout_cb'", so I write a check target for it.
Sometimes I want to check the value of pending field of struct timeouts for debug, then I implement this function.In my other c file, I can use it as this:...
In Xcode, The definition of struct timeout_cb in timeout.h ```c struct timeout_cb { void (*fn)(); void *arg; }; /* struct timeout_cb */ ``` In this line ```c void (*fn)(); ```...
Hi wahern, Exception thrown: read access violation. to->pending was 0x2404943C4E0. After debugging, I found at line 350 wheel = timeout_wheel(rem); in file timeout.c wheel is 9, which is is the...
I am trying to compile the code under Windows. After some tweaks it compiles, but the test accesses invalid memory - the `wheel = timeout_wheel(rem);` called with rem = 90...