]> git.proxmox.com Git - ovs.git/commit - lib/automake.mk
lib/rculist: New RCU-iterator, single-writer doubly-linked list.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 29 Oct 2014 16:59:57 +0000 (09:59 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 29 Oct 2014 16:59:57 +0000 (09:59 -0700)
commit9f22b0cfe0feb9cfeab3b776c7b372b0b452beb5
treebe718571c1f32df8af24769771539d718390f3a2
parent451de37e7fe6a89a482771fbec5e653be6117380
lib/rculist: New RCU-iterator, single-writer doubly-linked list.

rculist allows concurrent lockless list iteration, while a writer may
be modifying the list.  Multiple writers can be supported by using a
mutex in addition to rculist.

First user will be added in a following patch.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/automake.mk
lib/rculist.c [new file with mode: 0644]
lib/rculist.h [new file with mode: 0644]