[libc-commits] [PATCH] D149226: [libc] Partially implement `atexit` on the GPU

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Apr 25 22:44:22 PDT 2023


sivachandra added a comment.

I will assume that the correctness on the GPU side will be ensured by other means.



================
Comment at: libc/src/__support/threads/gpu/mutex.h:18
+/// Implementation of a simple passthrough mutex which guards nothing. A
+/// complete Mutex locks in general cannot be implemented on the GPU. We simply
+/// define the Mutex interface and require that only a single thread executes
----------------
s/locks/lock


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149226/new/

https://reviews.llvm.org/D149226



More information about the libc-commits mailing list