Fork me on GitHub

Am I the only person asking questions? 😅 In a multi-threaded application, what's the best way of passing the context of the main thread to a child? I could explicitly use with-context or with-context+ with the attributes I want but I'm wondering if threads could inherit it somehow from the thread that spawns them.

Wesley Matson21:12:34

How are you spawning the child threads?


In a couple places they're spawned with Thread., in others they're spawned indirectly via pedestal.jetty and that complicates things...