llvm / llvm/llvm-project

[tsan] deadlock detector for custom coroutines?

Open
#161,397 1 comment 0 reactions 0 assignees View on GitHub
compiler-rt:tsan coroutines
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Hi, we're developers from https://github.com/userver-framework/userver. userver is a backend framework with custom stackfull coroutines based on boost::coroutine2. It has coroutine-friendly mutexes and other synchronization primitives. We want to reuse TSAN deadlock detector with our coroutines.

Is it possible with some coding:
1) to adapt TSAN deadlock detector to custom coroutines instead of posix threads?
2) to adapt TSAN deadlock detector to custom coroutine synchronization primitives?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.