mutual-exclusion
Request Mutually Exclusive Record
I\'m working with C# on two types of applications. One is a web service one is a MVC3 application. I have the same problem with both. I am trying to create a method that when requested, returns a rec[详细]
2023-04-10 13:13 分类:问答C# Web Service Mutual Exclusion
elI have two types of nodes. One is a coordinator 开发者_运维知识库and another is a worker node.[详细]
2023-03-31 15:39 分类:问答Does std::tr1::shared_ptr do mutual exclusion?
I have a class which contains a BYTE*, a reference counter and a CRITICAL_SECTION which protects both of them from concurrent access.[详细]
2023-03-31 01:42 分类:问答Making pthread_rwlock_wrlock recursive
I have a problem regarding the behaviour of the pthread function pthread_rwlock_wrlock. The specification linked above states that when one thread has locked the lock for writing and the same thread l[详细]
2023-03-29 02:50 分类:问答Does CFRETURN in a CFLOCK properly release the lock?
I am writing some code with CFLOCK tags, and am at a point where my code would return somewhere within a CFLOCK.Example:[详细]
2023-03-27 08:33 分类:问答Concurrent access to groups of objects
I\'m trying to develop an application that consists of a pool of threads, using a work-stealing algorithm to concurrently execute tasks.[详细]
2023-03-24 04:55 分类:问答problem in peterson's lock in shared memory
I have开发者_如何学C implemented peterson\' algorithm for mutual exclusion in shared memory. I am using shared memory between a c++ and a java process(using jni) for communication. The problem is that[详细]
2023-03-12 20:25 分类:问答Trigger when `SelectedIndex` greater than 0
How can I set a trigger on a ComboBox that when the SelectedIndex is greater than 0 (basically, when an option is selected) another ComboBox gets modified. What I have are two ComboBoxes but the user[详细]
2023-03-11 17:17 分类:问答How to implement a good Android global object to pass data in real-time from background thread to activity in real-time without deadlock?
@Jusit suggested I use a global object to pass data from a background thread to an activity and it worked. But now I am worried about deadlock and if there is a good way to avoid/prevent it. Also I am[详细]
2023-03-08 21:15 分类:问答does my solution satisfy the requirements for a mutual exclusion
i wrote 2 processes in order to satisfy mutual exclusion but om not sure if it is.. my initial flag value is 0.[详细]
2023-02-14 10:34 分类:问答