I\'m using a Database to run some queries and was thinking to optimize stuff up. I am basically doing two static objects:
This question already has answers here: Closed 11 years ago. Possible Duplicates: C++: std::string in a multi-threaded program
I made this class that turns any object into a singleton, but I know that it\'s not \"concurrent queue safe.\" Could someone please explain to me how to do this, or better yet, show me the code. To be
I\'m using the new .NET 4.0 Caching API, ObjectCache. I\'ve asked a few questions on this area the last few days, and i\'ve hinted to this issue - but thought it\'s worthwhile to break it out into it\
I\'m wanting to cache the roles a user is in for each request that comes in. There are several places throughout any given page where where we have something like:
My app needs to call pre-compiled AppleScripts periodically on a backg开发者_开发技巧round thread. Because NSAppleScript is not thread-safe I need to execute the scripts on the main thread. I need to
I have to develop an application that tries to emulate the executing flow of an embedded target. This target has 2 levels of priority : the highest one being preemptive on the lowest one. The low prio
Im looking to implement a .net remoting system, where a number of clients will need access to a server database. Client calls may be concurrent, but Im wanting to queue client requests to the database
I want to write a logging http module that stores a list of log events for a single request in thread local storage while the request executes. On End_Request I want to write all the events back to pe
Lets say my Activity has a list object containing stuff. This Activity starts off several AsyncTasks. When these tasks finish, they modify this list (add stuff in it for example), in their postExecute