Concurrent-Golang
所属分类:超算/并行计算
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2015-06-12 19:04:54
上 传 者:
sh-1993
说明: Golang和并发编程,
(Golang and concurrent Programming,)
文件列表:
matrixMultiplicationConcurrent.go (2368, 2015-06-12)
smokersProblem.go (2210, 2015-06-12)
# Concurrent-Golang
Golang and concurrent Programming
[Smokers Problem Solution]
The smokers problem describes a situation in which 3 smokers sit at a table. Every one of them has tobacco, smoking paper, and matches, respectively, but do not share with each other.
The waiter comes to the table and puts 2 smoking utensils on it. The smoker who has the complementary utensil can smoke now. He does it, stops, and then all 3 wait again for the waiter.
[Smokers Problem Solution]: https://github.com/lfcj/Concurrent-Golang/blob/master/smokersProblem.go
[Concurrently multiplication of matrixes]
The multiplication of 2 matrixes succeds concurrently. The submultiplication of every row by a columb is done with a go routine. When done, it waits for the others at a Barrier.
[Concurrently multiplication of matrixes]: https://github.com/lfcj/Concurrent-Golang/blob/master/matrixMultiplicationConcurrent.go
近期下载者:
相关文件:
收藏者: