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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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 how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

816 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now