Skip to content

Commit 2a5d7c1

Browse files
committed
Exposing ProcessorThread.ManagedThreadId.
1 parent 5fec498 commit 2a5d7c1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Shuttle.Core.Threading/ProcessorThread.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public ProcessorThread(string name, IServiceScopeFactory serviceScopeFactory, IP
4242

4343
public string Name { get; }
4444
public IProcessor Processor { get; }
45+
public int ManagedThreadId => _thread.ManagedThreadId;
4546

4647
internal void Deactivate()
4748
{

Shuttle.Core.Threading/Shuttle.Core.Threading.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6-
<nullable>enable</nullable>
6+
<Nullable>enable</Nullable>
77
</PropertyGroup>
88

99
<ItemGroup>

0 commit comments

Comments
 (0)