https://github.com/devongovett/rust-threadlocal-bug
https://github.com/devongovett/rust-threadlocal-bug
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/devongovett/rust-threadlocal-bug
- Owner: devongovett
- Created: 2021-12-15T20:17:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-15T20:54:00.000Z (over 4 years ago)
- Last Synced: 2025-06-07T13:02:17.228Z (about 1 year ago)
- Language: C
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This demonstrates a bug in Rust with thread local variables.
To reproduce:
1. Run on CentOS 7, or another system with glibc 2.17
2. `cargo build`
3. `gcc test.c -ldl -pthread`
4. `./a.out`
5. Observe segfault