Questions tagged [crossbeam]
18 questions
0
votes
0 answers
In Rust, I have a large number of receiver objects I'd like manage, however I'm running into lifetime issues using Select
Due to the possibility of there being a large number of objects, I'd like to have a way to add them to the select list, remove them for processing and then add them back. All, without having to rebuild the select list each time an object is added…

Bruce
- 503
- 3
- 13
0
votes
0 answers
I'm having difficulty understanding how to implement a task scheduler using crossbeam deque
The issue I'm running into is lifetime management. I've an injector, which I've shared between worker threads. I had to use Arc<> as & was causing lifetime complaints. The local queue isn't shared, so no worries there. Then we come to the…

Bruce
- 503
- 3
- 13
0
votes
1 answer
What does crossbeam_epoch::Shared::as_raw mean by "Converts the pointer to a raw pointer (without the tag)"?
Can someone translate this into something that makes sense for me:
Converts the pointer to a raw pointer (without the tag).
What is the difference between a pointer and a raw pointer?
The Stack Overflow raw-pointer tag says neither "smart" nor…

JGFMK
- 8,425
- 4
- 58
- 92