Crea sito

Archivio per settembre 2012

How to get information about process memory usage

Each process running on a machine uses some memory, allocating memory on a heap or in the stack. In linux system there is a way to know how to get information about process memory usage, so that you can control how much memory a process is using and also check if there is any memory […]

g++ semaphore undefined reference

When you start working with thread or process you will probably need a way to coordinate them. One of this way is the use of semaphore, which allow you to coordinate several thread and regulate the access of shared memory. Using C++, the are several libraries that provide semaphores. One of these, that is Posix […]