Distributed programming: Difference between revisions

→‎Importer: corresponding change for bug fix.
(→‎Exporter: bug fix. resultCh needed to be buffered.)
(→‎Importer: corresponding change for bug fix.)
Line 545:
// create channels of identical type as created in exporter process.
squareCh := make(chan int)
resultCh := make(chan int, 1)
 
// import connects channels in this process to matching exported
1,707

edits