romange / helio

A modern framework for backend development based on io_uring Linux interface
Apache License 2.0
435 stars 49 forks source link

fix: errorneus check-fail due to redundant tls read #181

Closed romange closed 10 months ago

romange commented 10 months ago
  1. The failure in TLConnList::List has been reproduced on aarch64 due to ProactorBase::me() call that was substituted by the compiler with the wrong instance. The irony that we use this call to check our invariants.
  2. I redesigned the access to ProactorBase::GetIndex and made it accessible from any thread.
  3. Removed DEBUG_proactor data member and use socket()->proactor() instead.
  4. Removed the fallback for unlinking in a differrent thread and introduced back the check-fail