3 ms·
This is very interesting! I am especially interested in how you share memory between threads in your parallel runtime - what thread safety approach do you use?
by samsquire 3y ago
This is very interesting!
I am especially interested in how you share memory between threads in your parallel runtime - what thread safety approach do you use?
I've been thinking about static memory as permanent regions that are permanent fixtures and the program flows through them and there must be backpressure when buffers get full.
I just wrote a nonblocking multithreaded barrier with a lock free algorithm.
- sakras 3y agoMy threads generally don’t share memory inside the runtime. The only time they touch each others’ stuff is when they perform work stealing or memory stealing, and that’s all provided by the CL-Deque