CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jancellor

Search: Search took 0.02 seconds.

  1. Replies
    15
    Views
    14,386

    Re: User-mode semaphore possible?

    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.
    ...
  2. Replies
    15
    Views
    14,386

    Re: User-mode semaphore possible?

    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...
  3. Replies
    15
    Views
    14,386

    User-mode semaphore possible?

    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...
  4. Replies
    5
    Views
    1,026

    Re: Looking for a better Search Algorithm

    "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...
  5. Replies
    0
    Views
    838

    Overlapping reference types in unions

    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...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured