[libc-commits] [libc] [libc] Replace `MutexLock` with	`cpp::lock_guard` (PR #89340)
    Nick Desaulniers via libc-commits 
    libc-commits at lists.llvm.org
       
    Fri Apr 19 09:44:43 PDT 2024
    
    
  
https://github.com/nickdesaulniers commented:
> Also should I leave a comment in the new mutex.h as sort of a "bibliography" that I used the GCC implementation as inspiration?
If you put it in the commit description in the UI on github, then it will be retained when we squash+merge.  Do you mean libstdc++, or GCC?  Also, it's important that you didn't copy+paste the implementation.  Using it for reference is very much in the spirit of Free Software though.
> Thanks for your time and your advice earlier on how to tackle this issue!
You're a pro! Good job and thank you!
https://github.com/llvm/llvm-project/pull/89340
    
    
More information about the libc-commits
mailing list