Anatomy of Linux Synchronization Methods
In your Linux education, you may have learned about concurrency, critical sections, and locking, but how do you use these concepts within the kernel? This article reviews the locking mechanisms available within the Linux Kernel 2.6, including atomic operators, spinlocks, reader/writer locks, and kernel semaphores. Also try the Linux Kernal tutorial to learn how to compile, and customize a Linux kernelto suit your needs.
MultiMethods in C++: Finding a complete solution
This article provides a way to solve famous "multimethods problem". The main merits of the proposed solution are: no use of type casts of any kind (dynamic, static, reinterpret, const or C-style) no use of RTTI; no use of preprocessor; strong type safety; separate compilation; constant time of multimethod execution; no dynamic memory allocation (via new or malloc) during multimethod call; no use of nonstandard libraries; only standard C++ features is used.
Multithreading in C++
Multithreading is becoming an increasingly important part of modern programming. One reason for this is that multithreading enables a program to make the best use of available CPU cycles, thus allowing very efficient programs to be written. Another reason is that multithreading is a natural choice for handling event-driven code, which is so common in todays highly distributed, networked, GUI-based environments.
Multithreading in C++
Multithreading is growing in importance in modern programming for a variety of reasons, not the least of which being that Windows supports multithreading. While C++ does not feature built-in support for multithreading, it can be used to created multithreaded programs.
Computer Graphics World Computer graphics professionals turn to Computer Graphics World to them decide which computer graphics products to purchase to make their job more cost effective! ...
subscribe now