No description
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C 53.5%
  • Rust 40.3%
  • Makefile 3.5%
  • Lua 2.1%
  • Gnuplot 0.6%
Find a file
zy 4637b49c93 TimeoutCallBack wraps timeout_cb to simplify callback function writing, still have some problem:
- `arg: &'a mut T ` need be `&'a mut T` or `&'a T` ?
- for RefCell::new(session), how to ensure the life cycle?
test code update
2023-09-22 09:22:24 +00:00
.devcontainer rust 容器环境 2023-09-12 05:01:09 +00:00
.vscode rust-analyzer 使用 rust-gdb 调试, 这样可以跳转到 C 的断点调试了. 2023-09-15 01:47:25 +00:00
src TimeoutCallBack wraps timeout_cb to simplify callback function writing, still have some problem: 2023-09-22 09:22:24 +00:00
tests mv test_timeout.rs to /tests/ 2023-09-22 04:02:52 +00:00
timeout gcc 优化级别 O0 方便调试,默认是 O2 对宏定义有优化,断点追踪时常失效. 2023-09-15 10:11:04 +00:00
.gitignore 调整文件布局, rs-timeout 为主目录, timeout.c 等为二级目录 2023-09-12 06:58:37 +00:00
build.rs 链接静态库,方便调试 2023-09-14 08:20:09 +00:00
Cargo.lock 增加 rand 依赖(test_timeout.rs 需要随机数生成) 2023-09-13 10:20:30 +00:00
Cargo.toml 增加 rand 依赖(test_timeout.rs 需要随机数生成) 2023-09-13 10:20:30 +00:00