Semaphores in unmanaged code

Posted by Dororo on Stack Overflow See other posts from Stack Overflow or by Dororo
Published on 2010-04-20T12:26:29Z Indexed on 2010/04/20 13:03 UTC
Read the original article Hit count: 278

Filed under:
|
|
|

I've been using the Semaphore class to create semaphores. However, the examples use managed code (requires /clr), and I need to use unmanaged code because it seems FreeType doesn't like working with managed code.

How can I create two simple threads which use a semaphore in unmanaged code?

© Stack Overflow or respective owner

Related posts about c++

Related posts about winapi