kzhk/sync_example
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Synchronization example. This is prepared for my lecture on Operating Systems, in the University of Tsukuba. You can install the Go programming language system from: https://golang.org You can obtain a lot of information of Go including Japanese tutorial, by retieving "golang" in some search engines. producerConsumer.go requires a library, github.com/abiosoft/semaphore . To install it, do the following: % go get github.com/abiosoft/semaphore Then, just do the following: % go run producerConsumer.go Some error/warning could be printed. This is because the dining philosophers program is incomplete; "monitor" is not perfectly emulated.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published