Skip to content

CArena - Race condition on shutting down #6

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 :(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions