Material Detail

Lecture 15: Transitioning from Sequential Programming to Concurrent Programming in the Ticket Sale Example

Lecture 15: Transitioning from Sequential Programming to Concurrent Programming in the Ticket Sale Example

This video was recorded at Stanford Engineering Everywhere CS107 - Programming Paradigms. I went ahead and did something like this. I wrote it a little bit differently last time, but I'll write it like this, num tickets is equal to 150. All I want to do, in this brute force four loop, I'll write agent is equal to one agent less than or equal to num agents, agent ++ – I went ahead and I called this function, called sell tickets, and I'm gonna frame in terms of the agent ID num tickets dib, not agents, so that it's planarized in terms of these two values right here, and [inaudible] each ticket agent knows that he or she has to sell that many tickets as part of his or her function call and that's it. ... See the whole transcript at Programming Paradigms - Lecture 15

Quality

  • User Rating
  • Comments
  • Learning Exercises
  • Bookmark Collections
  • Course ePortfolios
  • Accessibility Info

More about this material

Browse...

Disciplines with similar materials as Lecture 15: Transitioning from Sequential Programming to Concurrent Programming in the Ticket Sale Example

Comments

Log in to participate in the discussions or sign up if you are not already a MERLOT member.