You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The thread in which compilation calls will be enqueued and done work on.
242
-
/// Note: This is currently only used when disposing of type providers and will be extended to all the other type provider calls when compilations can be done in parallel.
243
-
/// Right now all calls in FCS to type providers are single-threaded through use of the reactor thread.
244
-
typeICompilationThread=
245
-
246
-
/// Enqueue work to be done on a compilation thread.
Copy file name to clipboardExpand all lines: src/fsharp/CompilerConfig.fsi
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -92,14 +92,6 @@ type AssemblyReference =
92
92
93
93
type UnresolvedAssemblyReference = UnresolvedAssemblyReference ofstring*AssemblyReferencelist
94
94
95
-
/// The thread in which compilation calls will be enqueued and done work on.
96
-
/// Note: This is currently only used when disposing of type providers and will be extended to all the other type provider calls when compilations can be done in parallel.
97
-
/// Right now all calls in FCS to type providers are single-threaded through use of the reactor thread.
98
-
typeICompilationThread=
99
-
100
-
/// Enqueue work to be done on a compilation thread.
dprintf "disposing of TcImports, %d binaries\n" disposeActions.Count
709
709
#if!NO_EXTENSIONTYPING
710
-
letactions= disposeTypeProviderActions
711
-
if actions.Count >0then
712
-
compilationThread.EnqueueWork (fun _ ->for action in actions do action())
710
+
for action in disposeTypeProviderActions do action()
713
711
#endif
714
712
for action in disposeActions do action()
715
713
@@ -760,8 +758,7 @@ and TcImportsWeakHack (tcImports: WeakReference<TcImports>) =
760
758
/// Is a disposable object, but it is recommended not to explicitly call Dispose unless you absolutely know nothing will be using its contents after the disposal.
761
759
/// Otherwise, simply allow the GC to collect this and it will properly call Dispose from the finalizer.
762
760
and [<Sealed>]TcImports(tcConfigP:TcConfigProvider,initialResolutions:TcAssemblyResolutions,importsBase:TcImports option,
0 commit comments