Skip to content

Instantly share code, notes, and snippets.

View Cynede's full-sized avatar
🕸️

ミーゼこちゃん Cynede

🕸️
View GitHub Profile
// Creating new threads
open System
open System.Threading
//What will execute on each thread
let threadBody() =
for i in 1..5 do
//Wait 1/10 of a second
Thread.Sleep(100)
printfn "[Thread %d] %d ..."