Solution: Android 4.0 (ICS) Compillation Error On Ubuntu
While compilling Android ICS 4.0 on my Ubuntu system I faced the below compillation error. 1. "_FORTIFY_SOURCE" redefined Solution: build......
12 Years Ago
Creating A Detached PThread using Thread Attribute
In some cases you neither need the child thread to return information to the main thread nor want the main thread to wait for it. This behav......
12 Years Ago
Getting the Posix Thread Id in Linux
In linux system gettid function used to get the thread ID. The TID is diffrent than PID.In a single-threaded process, the TID is equal to th......
12 Years Ago
Posix Thread synchronization with Semaphore
In my previous post , we have seen how to synchronize threads with Mutex. In this post we will see how to synchronize threads using semaphor......
12 Years Ago
Posix Thread synchronization with Mutex
Mutex is a synchronization technique to protect shared resources. It can be thought of a lock, which is used to protect a resource. Similarl......
12 Years Ago
Binary Search Tree
A Binary Search Tree(BST) is a node-based binary tree data structure which has the following properties: 1. The left subtree of a node conta......
12 Years Ago