Cách thiết lập Bộ nhớ chia sẻ trong các chương trình Linux và MacOS của bạn. (shmget, shmat, shmdt, shmctl, ftok)

Tác giả: Jacob Sorber
Ngày xuất bản: 2020-06-30T00:00:00
Length: 12:48

Patreon ➤ https://www.patreon.com/jacobsorber

Courses ➤ https://jacobsorber.thinkific.com

Website ➤ https://www.jacobsorber.com

---

How to Set up Shared Memory on Linux and MacOS. (shmget, shmat, shmdt, shmctl, ftok) // This tutorial shows you how to set up shared memory between two or more process in any Unix-style OS, using ftok, shmget, shmat, shmdt, ahd shmctl. Implementation example included.

Related Videos:

Shared Memory with mmap: https://youtu.be/rPV6b8BUwxM

How programs get memory: https://youtu.be/XV5sRaSVtXQ

More memory: https://youtu.be/pKYvhURF3Z4

Make: https://www.youtube.com/watch?v=a8mPKBxQ9No

Cloning processes with fork: https://www.youtube.com/watch?v=ss1-REMJ9GA

Bit Fields: https://youtu.be/aMAM5vL7wTs

***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.

About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:

https://www.jacobsorber.com

https://people.cs.clemson.edu/~jsorber/

http://persist.cs.clemson.edu/

To Support the Channel:

+ like, subscribe, spread the word

+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]

+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]

Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]

Dịch Vào Lúc: 2025-06-29T12:31:40Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất