If there is a specific thread with SyncrhonizationContext, for example. UI thread, then you could do, for example.
let syncCtxt = System.Threading.SynchronizationContext.Current
let t3 = async {
do! Async.SwitchToGuiThread(syncCtxt)
return windowsProcess()
}
but in general, concurrent tasks will start in threadpool.
source
share