Difference between Spinlock and Semaphore
Spinlocks Spinlocks assume the data you are protecting is accessed in both interrupt-handlers and normal kernel code. … Read more
Spinlocks Spinlocks assume the data you are protecting is accessed in both interrupt-handlers and normal kernel code. … Read more
Besides the better readability, the code for mutex is smaller and slightly faster than the semaphore implementation. … Read more
Zombie process is the process which died immediately and whose parent didn’t cared to handled the status … Read more
If you need to get the mac address of certain wifi interface using C program, you can … Read more
Major distribution kernels set the default value of /proc/sys/vm/overcommit_memory to zero, which means that processes can request … Read more
In our previous post, we understood “What is Out of Memory Killer ?” In this post, we … Read more
Zombie process is the process which dies/finishes immediately and whose parent didn’t cares to handle the status … Read more
Below is simple process creation program using fork system call, fork return child’s process Id in main/parent … Read more
Following C program helps you to identify what is the total and free memory / RAM available … Read more
Following is the simple example to show, how we can create two threads at a time and … Read more
Following is the simple example to show, how we can create two threads at a time and … Read more
In this post, we create a simple thread using pthread library API “pthread_create” and wait for this … Read more