Click here to Skip to main content

C#

   
Home > Forums > C#

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
QuestionTemporary data to sqlserver database PinmemberGagan Deep Garg1:43 12 Oct '07  
AnswerRe: Temporary data to sqlserver database PinmemberAavesh Agarwal1:51 12 Oct '07  
QuestionAsync Callback in Web Service PinmemberAdam Jasper0:36 12 Oct '07  
QuestionDining Philosophers Pinmemberpdoy07080:03 12 Oct '07  
AnswerRe: Dining Philosophers PinmemberBekjong0:11 12 Oct '07  
AnswerRe: Dining Philosophers PinstaffChristian Graus0:11 12 Oct '07  
GeneralRe: Dining Philosophers PinmvpColin Angus Mackay1:00 12 Oct '07  
Christian Graus wrote:
Never heard of it. From the name, I'm guessing it's a common homework question

 
It is a basic concurrancy 101 problem.
 
Meanwhile the lecturer I had for concurrancy lectures all those years ago said that in 10 years all you would remember is the following story. It has been about 11-12 years ago now and he's right. It is the only thing I remember. The story goes:
 
There was a man who went into a sweet shop and went up to the counter and asked for a Mars bar. The shopkeeper had no Mars bars so he clonked the man over the head until he passed out, then he dragged the man to the corner of the shop to where the pile of other people who'd asked for Mars bars were lying.
 
Soon afterwards the Mars bar truck turned up and the shopkeeper filled his store with Mars bars. He then got out his smelling salts and revived all those that had requested a Mars bar. He sold them each a Mars bar and his customers left his shop contented.
 

Upcoming FREE developer events:
* Glasgow: SQL Server Managed Objects AND Reporting Services ...
 
My website

GeneralRe: Dining Philosophers Pinmembermartin_hughes1:38 12 Oct '07  
GeneralRe: Dining Philosophers PinmvpColin Angus Mackay5:18 12 Oct '07  
GeneralRe: Dining Philosophers Pinmembermartin_hughes5:27 12 Oct '07  
GeneralRe: Dining Philosophers PinmemberScott Dorman3:11 12 Oct '07  
QuestionWPF Viewport3D antialiasing PinmemberBartosz Bien0:03 12 Oct '07  
AnswerRe: WPF Viewport3D antialiasing Pinmemberlmoelleb0:27 13 Oct '07  
GeneralRe: WPF Viewport3D antialiasing PinmemberBartosz Bien0:59 13 Oct '07  
GeneralControl Break Algorithm PinmemberBrady Kelly23:32 11 Oct '07  
QuestionReminder Message PinmemberShashidharreddy22:41 11 Oct '07  
AnswerRe: Reminder Message PinmemberCCCJ0:19 12 Oct '07  
GeneralRe: Reminder Message PinmemberPete O'Hanlon2:29 12 Oct '07  
Questioncalling forms from treeview nodes Pinmembermamphekgojakes22:34 11 Oct '07  
AnswerRe: calling forms from treeview nodes PinmemberMartin#23:34 11 Oct '07  
GeneralRe: calling forms from treeview nodes PinmemberPete O'Hanlon0:10 12 Oct '07  
GeneralRe: calling forms from treeview nodes PinmemberMartin#0:18 12 Oct '07  
QuestionDOS exec not receiving input from standard I/O... PinmemberFuzzychaos22:29 11 Oct '07  
AnswerRe: DOS exec not receiving input from standard I/O... PinmemberPhil J Pearson10:23 12 Oct '07  
AnswerRe: DOS exec not receiving input from standard I/O... PinmemberFuzzychaos22:16 14 Oct '07  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.5.120529.1 | Last Updated 3 Jun 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid