aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-08-01 18:09:42 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-08-01 18:09:42 +0300
commitd78a58be5fa2385987a3141ccbe942107332e677 (patch)
treee707a46376a1d81f0686eab6ae40d5b20f4236a2 /configure.ac
parentc89e3c137238963b737ccb207c01394c430428b6 (diff)
downloadvmod-tbf-d78a58be5fa2385987a3141ccbe942107332e677.tar.gz
vmod-tbf-d78a58be5fa2385987a3141ccbe942107332e677.tar.bz2
Serialize read/write accesses.
* src/tbf.c (keylock): New struct. (keylock_head, keylock_avail): New statics. (keylock_find, keylock_find_safe) (keylock_remove_safe): New functions. (tbf_open): Rename to tbf_open_safe. (tbf_open_internal): Rename to tbf_open. (vmod_rate): Rewrite using keylocks to ensure the record is not modified by another thread between calls to get and push.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.