On 11/15/13 9:51 AM, Daniel Micay wrote:
The same is true for 1:1 vs. M:N threading. If a task doesn't map 1:1 to a thread ID and thread-local data, support for C libraries using thread-local data will always be stuck with an inferior API to C/C++.
Unless you pin the task, no?
There's also the inability to directly use static thread-local data which is very fast and easy to use.
I think we could just implement static task-local data using some sort of life-before-main under the hood.
Patrick _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev