Re:Snmalloc: A Message Passing Allocator
by samsquire on Thursday October 12, 2023 @02:54AM
(#37854223)
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.
Re:Snmalloc: A Message Passing Allocator
by sakras on Thursday October 12, 2023 @12:05PM
(#37859093)
My 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
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.