Hi
we have developed the custom module which stores the registered users
in a file.now we are trying to remove the expired contacts using the
rtimer module.while saving the registered users to the file we also
store the expires values in static array.but when we try to
decrement
Hello,
the static array is stored on the private memory per process, thus
cannot be updated by the timer.
You should allocate the array in shared memory at startup, then it
should work to update it from different application processes. Be sure
you synchronize (with locks/mutexes) the operati
Hi
we have developed the custom module which stores the registered users
in a file.now we are trying to remove the expired contacts using the
rtimer module.while saving the registered users to the file we also
store the expires values in static array.but when we try to
decrement