Uncategorized Archive

Deadlock with Mutex Locks

Let’s see how deadlock can occur in a multithreaded Pthread program using mutex locks. The pthread_mutex_init() function initializes an unlocked mutex. Mutex locks are acquired and released using pthread_mutex_lock() and pthread_mutex_unlock(), respectively. If a thread attempts to acquire a locked mutex, the call to pthread_mutex_lock() blocks the thread until the owner of the mutex lock

Multitasking Mobile Operating Systems

Because of the constraints imposed on mobile devices, early versions of iOS did not provide user-application multitasking; only one application runs in the foreground and all other user applications are suspended. Operating system tasks were multitasked because they were written by Apple and well behaved. However, beginning with iOS 4, Apple now provides a limited

Public and Private-key cryptography

Public-key cryptography is the backbone of most distributed systems. It provides both a way to encrypt a message and to confirm the source of a message, without the need to agree upon a shared key. It is used in a wide variety of protocols and data formats, which are implemented by a huge range of

Caching Explained

Caching Scheme The concept of caching is simple. If the data needed to satisfy the access request are not already cached, then a copy of those data is brought from the server to the client system. Accesses are performed on the cached copy. The idea is to retain recently accessed disk blocks in the cache,

we accept payment through

Social Media Auto Publish Powered By : XYZScripts.com