Skip to content

simple question about update_fn #154

Open
@arjen-Lee1993

Description

@arjen-Lee1993

there are several threads concurrently writing on a same value in the hashmap,so i need "update_fn" rather than "update" to lock the value to avoid overwriting.
my input function seems like void fn(mapped_type&, param1 xx, param2 xx ....)
i need more extra input params, but the update_fn may not supported.
can u give me some advices to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions