Messages in this thread | | | From | David Howells <> | Subject | Re: An incorrect assumption over radix_tree_tag_get() | Date | Tue, 06 Apr 2010 19:52:45 +0100 |
| |
Nick Piggin <npiggin@suse.de> wrote:
> It is safe. Synchronization requirements for using the radix tree API > are documented.
I presume you mean the big comment on it in radix-tree.h.
According to that, it is not safe:
* - any function _modifying_ the tree or tags (inserting or deleting * items, setting or clearing tags) must exclude other modifications, and * exclude any functions reading the tree.
David
| |