October 23rd, 2008, 01:34 PM
Ahah, yes I see how to do it. See below for an implementation of something similar, which (I cannot resist adding) I though of myself just before.
...
October 21st, 2008, 02:38 PM
Thanks Arjay, I wasn't positive that the critical section was the only user-mode synchronization method available in Windows.
The main question, though, is it is possible to create a user-mode...
October 18th, 2008, 08:45 AM
Hello
In win32, I believe the following is true. EnterCriticalSection() and LeaveCriticalSection() can be used to synchronize threads without requiring expensive system calls that transition into...
April 8th, 2008, 08:30 AM
"System.Collections.Generics.Dictionary" will help you search for InterestingBooks by ID, but you will not be able to use it to search by Author because "Dictionary" requires that the "Key" is...
April 8th, 2008, 06:51 AM
Hello
I've read plenty about how you can create unions in C# with structs and attributes to overlap the storage of, say, an int and a float where you know they won't be used at the same time. You...