Click here to Skip to main content
15,867,991 members
Articles / Programming Languages / Objective C

Producer/Consumer Implementation Using Thread, Semaphore and Event

Rate me:
Please Sign up or sign in to vote.
4.64/5 (45 votes)
6 Jul 200415 min read 202.1K   3.5K   91  
Using thread, semaphore and event classes to implement a specific version of Producer/Consumer model

Views

Daily Counts

Downloads

Weekly Counts


Written By
Web Developer
United States United States
I love to tell jokes and today, I finally came up with my own joke. here it goes:

I decide to make my first son a medical doctor so later on when I am old and sick, I can get medical care any time I need and for free..., in fact, better to make my second son a medical doctor too so I can get a second opinion.

here is another version of this joke:

I decide to make my first son a medical doctor so later on when I am old and sick, I can get medical care any time I need and for free..., in fact, better to make my second son a medical doctor too so I can get a second opinion. well, perhaps my third son should be a lawyer - in case something is wrong with my medical care, I can sue the first two for free.

if you happen to visit this page and read these two jokes, tell me which one you like...

Comments and Discussions