Files
TransPyC/Test/ThreadingTest/project.json
T
TermiNexus 197a7f3314 test: 新增 ThreadingTest vthreading 专项测试
覆盖 Thread(start/join/is_alive/get_exit_code/传参)、Lock 多线程互斥、
Event 唤醒、Condition 生产者/消费者、RWLock 多读单写、TLS local、
get_current_thread_id/sleep_ms,以及 stdlib.system 多线程并发调用。
2026-08-19 06:42:32 +08:00

30 lines
877 B
JSON

{
"$schema": "https://raw.githubusercontent.com/TermiNexus/TransPyC/main/schemas/project-schema.json",
"name": "ThreadingTest",
"version": "1.0.0",
"source_dir": "./App",
"build_dir": "./.tpv_build",
"compiler": {
"cmd": "llc",
"flags": ["-filetype=obj", "-relocation-model=pic"]
},
"linker": {
"cmd": "clang++",
"flags": ["-lmsvcrt", "-lucrt", "-lpthread", "-lmingwex", "-lkernel32", "-Wl,--allow-multiple-definition"],
"output": "ThreadingTest.exe"
},
"includes": [
"../../includes"
],
"target": {
"triple": "x86_64-pc-windows-gnu",
"datalayout": "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
},
"options": {
"slice_level": 3,
"sha1_slice_level": 1,
"target": "llvm",
"strict_mode": true
}
}