forhappy / Cplusplus-Concurrency-In-Practice

A Detailed Cplusplus Concurrency Tutorial 《C++ 并发编程指南》
MIT License
5.22k stars 1.49k forks source link

update 11.1 Producer-Consumer-solution.md #11

Open ScofieldXu opened 9 years ago

ScofieldXu commented 9 years ago
  1. use stock_position instead read/write_postition
  2. use random time simulate produce/consume time