
29 Nov
2011
29 Nov
'11
6:39 p.m.
"single_thread_push" might cause some misunderstanding, as people may think that it is about a `single producer', not about a `single-threaded use'. so it is really a "thread_unsafe_push", as incorrect use may corrupt the internal data structure.
so maybe "thread_unsafe_push", "nonblocking_push" and "push"?
if there is resistance for unsafe_push, I propose push_unsynchronized (or unsynchronized_push).
very good idea! unsynchronized is much more expressive than unsafe. thanks, tim