Message from C, C++ discussions

December 2019

— C or C++?


I have a question regarding synchronization. I want to make yet another productor-consumer program (wrapped in a class), but I think I keep getting a deadlock and can't really find where I'm wrong (there surely is some lack of understanding):

— Looks like C as not using std::string

— You never know...

— True

— You forgot thread_local😂

— Just add urs and make sure it compiles

— static thread_local inline constexpr volatile const unsigned long long int* const a{};

— User Hakim has 1/2 warnings; be careful!
The latest warn was because:

— That's 2/2 warnings; Hakim is banned!
1: promotion
2: Another promotion

— I am abandoning cxx now

— Why c++