From 48563ffd8dd7ddc37172ae3a5535d2890f4e68c4 Mon Sep 17 00:00:00 2001 From: uuhan Date: Sun, 21 Jan 2024 15:16:02 +0800 Subject: [PATCH] README.md --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c3f06b..6c71024 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -284,7 +284,7 @@ dependencies = [ [[package]] name = "terminate-thread" -version = "0.3.1" +version = "0.3.2-alpha.0" dependencies = [ "autotools", "bindgen", diff --git a/Cargo.toml b/Cargo.toml index 473f6da..945430e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "terminate-thread" -version = "0.3.1" +version = "0.3.2-alpha.0" edition = "2021" repository = "https://github.com/uuhan/terminate-thread" description = "A simple terminatable thread implemented with pthread" diff --git a/README.md b/README.md index 62ca929..eb21820 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ ## What is this? -It's just a simple terminatable thread implement with *pthread* for rust +It's just a simple terminatable thread implement with *posix thread* for rust + +*LIMITATIONS*: `std::panic::catch_unwind` does not work in foreign language on Linux, + +**BE CAREFUL** with the panics in `Thread::spawn`. + +It works well in macOS. But, I can not figure out how to solve it on Linux. ## But Why?