Patent ID: 8108865
Filing Date: 2012-01-31
Classification: G06F

Abstract:
1. A process-replication method for use in a multi-threaded computing environment, comprising: acquiring and locking, by a forking thread, available mutexes from a plurality of mutexes, wherein the forking thread is a thread that has called a function to perform thread replication; determining whether an unavailable mutex from said plurality of mutexes is owned by a waiting thread that is waiting for a particular mutex owned by the forking thread and, if so, ceding the particular mutex to the waiting thread and boosting a priority of said waiting thread as compared to other threads to allow the waiting thread to finish execution; and after ceding the particular mutex to the waiting thread, registering the forking thread as first waiter for the unavailable mutex; wherein said plurality of mutexes are eventually acquired and locked by the forking thread.