Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
Semaphores
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sevak316
New Member
Join Date:
Sep 2008
Posts:
73
#1
Semaphores
Oct 2 '08, 09:00 PM
Is there a type 'Semaphore' in windows or an equivalent?
Laharl
Recognized Expert
Contributor
Join Date:
Sep 2007
Posts:
849
#2
Oct 2 '08, 09:34 PM
Have you tried searching Google or
MSDN
? Anyway, there are Semaphores, I'm pretty sure, as well as mutexes. For details, check out MSDN.
Comment
Post
Cancel
RedSon
Recognized Expert
Expert
Join Date:
Jan 2007
Posts:
4980
#3
Oct 2 '08, 09:37 PM
Yes semaphores exist in windows, both in native and managed code. MSDN will help you with that.
Comment
Post
Cancel
sevak316
New Member
Join Date:
Sep 2008
Posts:
73
#4
Oct 6 '08, 05:50 PM
Thanks guys, but MSDN only gives me C++ examples.
I need to find an example in C where it uses Semaphores and also calls to Wait() and Release() functions.
Any suggestions?
Comment
Post
Cancel
Laharl
Recognized Expert
Contributor
Join Date:
Sep 2007
Posts:
849
#5
Oct 6 '08, 06:15 PM
This
looks like C to me...
Comment
Post
Cancel
sevak316
New Member
Join Date:
Sep 2008
Posts:
73
#6
Oct 6 '08, 07:51 PM
Sorry, right after I posted my reply, I found this page.
Thank you.
Sevak
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment