Skip to content

Is map_struct_to_json thread safe? #11

@byrnexu

Description

@byrnexu

The following code sometimes gets the first half of json, I suspect it is because of the result of calling in a multi-threaded environment, the following fieldinfo is a local variable

struct_mapping::map_struct_to_json(fieldInfo, oss, " ");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions