larssg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Welog has quit [Ping timeout: 268 seconds]
elf_fortrez has joined #crystal-lang
Welog has joined #crystal-lang
elf_fortrez has quit [Quit: Client closed]
elf_fortrez has joined #crystal-lang
dom96 is now known as test_test_unique
test_test_unique is now known as dom96
<FromGitter>
<alex-kampa> @naqvis Re listening to two separate tcp ports on spawned threads ⏎ ⏎ > either you go with parallelism (i.e. via `-Dmt_preview`) or better go with two separate process each listening on its own port ⏎ Fyi it actually works just by creating a channel and adding this to the end of the program: ⏎ ... [https://gitter.im/crystal-lang/crystal?at=60ce0ee94e325e6132920286]
<FromGitter>
<naqvis> @alex-kampa I think we are talking about two different concepts here. `Fiber` is not a OS Thread. Crystal default behavior without enabling that `preview_mt` is Single threaded model. All Fibers are run inside a single thread, so if you have a `Fiber` which run in a tight loop will starve all other Fibers to execute
larssg has joined #crystal-lang
elf_fortrez has quit [Ping timeout: 246 seconds]
larssg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DeBot has quit [Quit: Crystal IRC]
jhass has quit [Quit: Bye]
straight-shoota has quit [Quit: ZNC 1.8.2 - https://znc.in]