Shared Memory
- Difference between Mutex and Semaphore
- Difference between Spinlock and Semaphore
- How to use pthread_mutex_lock to prevent modification of shared variables ?
Threads
- Create multiple threads, identify thread id of the current thread using pthread C library
- Creating a simple thread in Linux using pthread library api’s
- What is the Difference between Process and Thread ?
Process
- Understanding compilation stages – Preprocessor, Compiler, Assembler, Linker, Loader
- How to create process in Linux using fork system call ?
- What is Zombie process and How to create zombie process in Linux ?
- How to avoid zombie process in Linux ?
- How to identify and kill zombie process in Linux ?
- C library API atexit for calling certain function at end of program execution / process termination
- Linux Initscript Example to start and stop process during booting
- What is the Difference between Process and Thread ?
Signals
Memory Management
- Memory layout / Address space of variables in C program
- Understanding /proc/meminfo – Analyzing Linux memory utilization
- C program to check total and free RAM memory in Linux
- Understanding Linux page cache memory
Out Of Memory Killer
- What is Linux Out-Of-Memory OOM Killer ?
- How to avoid a process from being killed in case of Out of Memory ?
- How to invoke OOM Killer manually for understanding which process gets killed first ?
Library ( Static and Shared )
- How to create Shared Library in Linux ?
- How to Create Static Library in Linux ?
- Difference between static and dynamic library linking