f0rki / mapping-high-level-constructs-to-llvm-ir

A guide that explains how high level programming language constructs are mapped to the LLVM intermediate language.
https://mapping-high-level-constructs-to-llvm-ir.readthedocs.io
Other
599 stars 62 forks source link

Document multithreading #51

Open ChocolateLoverRaj opened 1 year ago

f0rki commented 1 year ago

hmm. Although I am inclined to think this might be out of scope for this guide, we can keep this issue around if someone wants to contribute this.

ChocolateLoverRaj commented 1 year ago

I used a C tutorial on pthreads to do multithreading in LLVM. Since people can just find C tutorials, and libraries are OS specific. I also think it's out of scope. Maybe in the docs could just have a link to resources like https://www.geeksforgeeks.org/multithreading-in-c/.