tcl tk tasks consumer producer example

Zorro
Zorro
827 بار بازدید - 2 سال پیش - This video demonstrates the classic
This video demonstrates the classic producer consumer problem example on the wiki website. It also shows how to use a few of the latest development tools.  At 19:16 it begins a discussion of the code itself using an analogy with a retail store, and then does a detailed code walk-through.

Tcl/Tk Tasks are available here: https://wiki.tcl-lang.org/page/Tasks This is the 4th video in this series.

Latest code is here:

https://github.com/rocketship88/Tasks...

corrections:

at 7:20 the maximum queue size is in the qsize variable, the queuesize variable is the associated variable for the queue size text entry, both with the value 10 since the queue is full

at 10:30 the list length of the waiters(produce) array element output the value 1 instead of 2 because that looks like just a list with 1 element since it didn't have a $ in front of waiters.
2 سال پیش در تاریخ 1401/02/25 منتشر شده است.
827 بـار بازدید شده
... بیشتر