Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
@@ -42,8 +42,7 @@ namespace StgSharp.Threading
public class FrameworkSyncContext : SynchronizationContext
{
private static readonly FrameworkSyncContext _mainThreadContext = new FrameworkSyncContext(
);
private static readonly FrameworkSyncContext _mainThreadContext = new FrameworkSyncContext();
private readonly BlockingCollection<SendOrPostCallback> _syncContexts = new BlockingCollection<SendOrPostCallback>(
);
@@ -67,9 +66,11 @@ namespace StgSharp.Threading
public override void Send( SendOrPostCallback d, object state )
{
if( Thread.CurrentThread == _mainThread ) {
if( Thread.CurrentThread == _mainThread )
{
d( state );
} else {
} else
{
Post( d, state );
}
}