Thread's and Semaphores

Posted on 1998-09-25
Last Modified: 2010-08-05
Is there somebody who can point me to a online tutorial on thread's and semaphores in C (WinNT, Visual C++) or show me an easy sample code on how to use the functions CreateThread, CreateSemaphore, SetEvent, WaitForSingleObject, ReleaseSemaphore, ...?


Question by:940961sl
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 86

Accepted Solution

jkr earned 100 total points
ID: 1253043
See 'List of Articles for Win32 Base Programming Issues', MS KB Article ID Q89989. There are a lot of samples included in these articles, so i'm sure you'll find what you need.

Author Comment

ID: 1253044
What is MS KB standing for (Microsoft  ... ??) Where can I find those articles?

LVL 86

Expert Comment

ID: 1253045
MS KB is 'Microsoft Knowlege Base'. Simply point your browser to '' and type in the article ID number.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using pointers to pointers to write to a two dimensional array 16 101
UPD maximums on Red Hat 6 130
Resolve Dependency Issues 4 98
Fill Null values 5 54
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question