Рет қаралды 14,238
In this video we explore threads and communication with the datatypes MVar and Chan.
Code: gist.github.com/phagenlocher/...
Documentation:
hackage.haskell.org/package/ba...
hackage.haskell.org/package/ba...
hackage.haskell.org/package/ba...
downloads.haskell.org/~ghc/la...
Further reading:
wiki.haskell.org/Concurrency
en.wikipedia.org/wiki/Concurr...
www.microsoft.com/en-us/resea...
wiki.haskell.org/Parallelism_...
Info on mutexes / locks:
bit.ly/2WaggCM
en.wikipedia.org/wiki/Mutual_...
Timestamps:
00:00 - Basics
03:35 - MVar Datatype
08:21 - Chan Datatype
10:30 - Basic Example and Compilation
15:42 - Chan Example
22:17 - MVar Example
Support me on Ko-fi:
ko-fi.com/phagenlocher