thread-safety
asnychronous callback
I am new to asynchronous programming. I have a C# dll with an asynchro开发者_Python百科nous method that gets called, takes a function pointer (delegate) and calls this callback function after \"result[详细]
2023-04-12 00:36 分类:问答How to get a series of images from the ui thread into the draw thread in Silverlight 5 using XNA
in Silverlight I\'m trying to get the frames of a webcam (live) stream textured on a series of 3d quads. I use a VideoSink in a webcam controller class in a webcam controller class. Then i draw the qu[详细]
2023-04-11 22:08 分类:问答asp.net static caching in hashtable
I was previously using the application object to cache data that never changes. I am rewriting the project and have found out the aplication object is a no-no and is just there for legacy support from[详细]
2023-04-11 15:20 分类:问答TPL Asynchronous Static Method Call Thread Safety
I need to make four calls to a WCF service asynchronously and thread safety with async stuff and static methods always cooks my brain.[详细]
2023-04-11 13:04 分类:问答With java multi-thread Server/Client, How to tell if client thread closed?
I am making a Server/Client program in Java. The server waits for a connection then makes a new thread for that connection. The server then goes back and listens for connections on other ports.[详细]
2023-04-11 11:58 分类:问答Which parts of DirectShow's Filter Graph Manager are thread safe?
The MSDN doesn\'t say. IGraphBuilder has a function Abort. That implies that at the very least it\'s safe to call Abort and any one other IGraphBuilder function at the same time. With this question, I[详细]
2023-04-11 09:19 分类:问答SSE instructions: which CPUs can do atomic 16B memory operations?
Consider a single memory access (a single read or a single write, not read+write) SSE instruction on an x86 CPU. The instruction is accessing 16 bytes (128 bits) of memory and the accessed memory loca[详细]
2023-04-11 03:05 分类:问答Is the following code reentrant and thread-safe?
Is the following code is reentrant? Is it thread-safe, if this.NextToExecuteIndex is declared private int Ne开发者_开发问答xtToExecuteIndex = 0; and not computed anywhere else?[详细]
2023-04-10 17:24 分类:问答How to define thread-local local static variables?
How to define local static variables (that keeps its 开发者_如何学Cvalue between function calls) that are not shared among different threads?[详细]
2023-04-09 19:11 分类:问答How to synchronize access to a global variable with very frequent reads / very rare writes?
I’m working on debug logging infrastructure for a server application. Each logging point in source code specifies its level (CRITICAL, ERROR, etc.) among other parameters.[详细]
2023-04-09 10:14 分类:问答