Understanding Libraries: Purpose and Benefits
Static and shared libraries in embedded Linux. Learn to build, link, and deploy libraries on the Raspberry Pi 5, with practical C examples.
Understanding Libraries: Purpose and Benefits Read More »
Static and shared libraries in embedded Linux. Learn to build, link, and deploy libraries on the Raspberry Pi 5, with practical C examples.
Understanding Libraries: Purpose and Benefits Read More »
Learn to identify, debug, and prevent common memory errors like leaks, dangling pointers, double free, and buffer overflows using Valgrind and ASan.
Leaks, Dangling Pointers, Double Free, and Buffer Overflows Read More »
Master stack memory in Embedded Linux. Learn about the function call stack, stack frames, and debugging stack overflows on the Raspberry Pi 5 with GDB.
Stack Memory Allocation and Management Read More »
Linux memory management by exploring the process address space. Learn about kernel vs. user space, text, data, BSS, heap, and stack segments.
Process Address Space: Kernel Space vs. User Space Layout Read More »
Prevent race conditions in embedded Linux systems using System V semaphores. This chapter covers semget, semop, and semctl for shared memory synchronization.
IPC: System V Semaphores for Shared Memory Synchronization Read More »
Learn to implement robust Inter-Process Communication (IPC) in Embedded Linux using named pipes (FIFOs). Chapter covers mkfifo(), blocking/non-blocking I/O.
IPC: Named Pipes (FIFOs) for Com. bw Unrelated Processes Read More »
IPC in Embedded Linux using unnamed pipes. Chapter covers the pipe() system call, parent-child data transfer, and creating shell pipelines on Raspberry Pi 5.
IPC: Unnamed Pipes (pipe()) for Parent-Child Communication Read More »
Learn to manage concurrent resource access in embedded Linux systems using POSIX semaphores. This guide covers sem_init, sem_wait, and sem_post.
Pthreads: Semaphores for Resource Counting & Synchronization Read More »
Learn to manage child processes in Embedded Linux with wait() and waitpid(). Process synchronization, handling zombies, and practical C examples.
Waiting for Child Processes: wait() and waitpid() Read More »
Learn process termination in Embedded Linux with the Raspberry Pi 5. Master exit(), _exit(), atexit(), and handling exit statuses for robust system programming.
Process Termination: exit(), _exit(), and Exit Status Read More »