-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using the C++ boost::thread library, which in my case means I'm using pthreads. Officially, a mutex must be unlocked from the same thread which locks it, and I want the effect of being able to lock in one thread and then unlock in another. There are many ways to accomplish this. One possibility…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How can I find from mutex handle in C# that a mutex is acquired?
When mutex.WaitOne(timeout) timeouts, it returns false. However, how can I find that from the mutex handle? (Maybe using p/invoke.)
UPDATE:
public class InterProcessLock : IDisposable
{
readonly Mutex mutex;
public bool IsAcquired…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I've started getting some errors in the App event log of one of our database servers (Windows 2003 & SQL Server 2005). The nightly full database backups are completing successfully however immediately after the job success is written to the event log there is a run of entries that say:
SQLVDI:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am using a Radio Layer Interface (RIL) Native API in Windows Mobile application. In this API, the return values / results of most functions are not returned immediately but are passed through a callback function which is passed to the RIL API.
Some usage examples are found at XDA Develompent…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've tried this MANY ways, here is the current iteration. I think I've just implemented this all wrong. What I'm trying to accomplish is to treat this Asynch result in such a way that until it returns AND I finish with my add-thumbnail call, I will not request another call to imageProvider.BeginGetImage…
>>> More