Skip to content

Threading Model Adaptation #17

@doshibadev

Description

@doshibadev

Overview

Adapt threading system to .NET's threading model with async/await patterns and Task-based asynchrony.

Package

com.hytale.common.thread

Priority & Difficulty

⚠️ Medium Priority | 🟡 Medium | ⏱️ 2 weeks

Acceptance Criteria

  • Thread pool configuration
  • Async/await patterns for I/O
  • Concurrent collections usage
  • Lock-free algorithms where applicable
  • Deadlock detection (debug mode)
  • Performance profiling vs Java

Migration Strategy

  • Java ExecutorService → .NET Task / TaskScheduler
  • Java Future → .NET Task<T>
  • Java synchronized → .NET lock / Monitor / SemaphoreSlim
  • Consider System.Threading.Channels for producer-consumer patterns

Dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: 🟡 MediumModerate complexity - 1-2 weeks of workPriority: ⚠️ MediumImportant but not blocking - work on after high priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    📝 To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions