mutex
mutex problem in windows
I have problem with mutexes I have this code and I dont any idea why it doesn\'t work correctly... #include <windows.h>[详细]
2023-04-08 11:17 分类:问答Have I Implemented Mutal Exchange Correctly?
I\'m trying to implement mutual exchange on a multi-threaded program. I\'m not sure if I\'m doing it right, and it\'s difficult to test.[详细]
2023-04-07 04:30 分类:问答How to wait for threads with low latency in go?
I\'ve been trying to create a simple event loop wrapper in Go. But I got stumped, how was I supposed to keep track of operations in the current thread?[详细]
2023-04-07 03:51 分类:问答Send parameters to a running application in C#
I am trying to send pa开发者_运维百科rameters to an application which is already in the processor. I am using Mutex to find if the application is running or not already. I need to send any command lin[详细]
2023-04-07 01:23 分类:问答Performance of running a multithreaded program on a single core by setting affinity?
In short: Under what scenarios can running a multithreaded app on a single core destroy performance?[详细]
2023-04-06 20:53 分类:问答In a multithreaded app, can 2+ threads access the same function if the function does not modify/read data or modifies/reads temporary data?
I can\'t seem to find an answer anywhere on Google. I basically want to know if 2 threads can access normal/member functions like these at the same time and not result in开发者_StackOverflow undefined[详细]
2023-04-06 16:49 分类:问答Memory model ordering and visibility?
I tried looking for details on this, I even read the standard on mutexes and atomics... but still I couldnt understand the C++11 memory model visibility guarantees.[详细]
2023-04-05 21:17 分类:问答CreateMutex in two different programs, same handle (gcc)
I have written two programs which comunicate over tcp. These two programs are in principle the same. The messages are stored in an internal buffer, before i send开发者_Python百科 them over tcp. I use[详细]
2023-04-05 14:38 分类:问答What to do with interprocess communication between two processes?
I need some help regarding interprocess communication. I have an Application A and Application B. Application B purpose is to update Application A. As Application A can\'t update himself, there must[详细]
2023-04-05 08:47 分类:问答pthread mutex unlock why same thread?
May be a basic ques开发者_如何转开发tion?. 1) Why the mutex should be unlocked on the same thread ?. Do we have any specific reason?[详细]
2023-04-05 01:19 分类:问答