Skip to content

Bug: Console not thread-safe #73

Description

@AlBuSoft

Description

The console functions are not thread-safe, they can crash.
Use some locks from SDL3 to lock the write-stream for the functions.

Details

Projekt: "ecm.dll"
Datei: "console.h" "console.cpp"
Namespace: "ecm::console"

Tasks

  • Use SDL_Mutex* and SDL_CreateMutex
  • Lock mutex in all the functions with SDL_LockMutex and SDL_Unlock

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingurgent

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions