ugc
ugc copied to clipboard
Introduction to Threading submission
Description
This article have detailed information about what exactly threads are. What are the difference between threads and process. How to implement threads using C and Pthread lib.
Type of Change
- Adding a new entry
Checklist
- [x] All writings are my own.
- [x] My entry follows the Codecademy Docs style guide.
- [x] My changes generate no new warnings.
- [x] I have performed a self-review of my own writing and code.
- [x] I have checked my entry and corrected any misspellings.
- [x] I have made corresponding changes to the documentation if needed.
- [x] I have confirmed my changes are not being pushed from my forked
main
branch. - [x] I have confirmed that I'm pushing from a new branch named after the changes I'm making.
- [x] Under "Development" on the right, I have linked any issues that are relevant to this PR (write "Closes #
in the "Description" above).
Fixes #31
I have one suggestion: Please review the first code example provided in the PR file. I have attached a screenshot of my CLI showing the output, and I have also written the output in the shell. You can choose whichever approach you prefer, and we can proceed with that, deleting the alternative entry.
Hey @CBID2 I never knew we were allowed to review others code and suggest changes. This is a good practice imo to help maintainers. Maybe I would do some code reviews too if they are from my tech stack from next time.
Oh of course we can @dakshdeepHERE! It's a common practice in open source! :) I wrote a FreecodeCamp article on how to review people's code. Check it out! 😊
@CBID2 yes I do that in other repo owned by my friend but I thought it's against the TOS here.
@CBID2 yes I do that in other repo owned by my friend but I thought it's against the TOS here.
I don't think it is @dakshdeepHERE.
Hey @yangc95 I have few more optional codes that I wanted to add but I didn't as the article already is above 300 lines. If you want I can add them. But I think the code samples of creating threads for the functions and message between threads are enough for basic understanding of threads.
@yangc95 Thank you for the amazing review I will get started with the changes. I'm totally blown away by the range of your knowledge in computer science after reading your comments in this entry. Devs like you always motivate me. Thanks for the correction.
@dakshdeepHERE Hiya! Just pinging you on this as a light reminder 🙂 hope your studies are going along!