Skip to content

CArena - Race condition on shutting down #6

@rasmuswz

Description

@rasmuswz

A thread starting CArena like:

CArena arena = CArena_new(...);

arena->send(...)
arena->receive(...)

CArena_Destroy(&arena)

there is no guarantee that the actual send-thread in the arena has begun running yet. Thus if it decides to do so after CArena_Destroy it will crash the program :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions