core :: Collection :: to_concurrent
self
in a thread-safe collection
# Wraps `self` in a thread-safe collection
fun to_concurrent: CONCURRENT is abstract
lib/pthreads/concurrent_collections.nit:44,2--45,42
redef fun to_concurrent do return new ConcurrentList[E].wrap(self)
lib/pthreads/concurrent_collections.nit:65,2--67
redef fun to_concurrent do return new ConcurrentArray[E].wrap(self)
lib/pthreads/concurrent_collections.nit:59,2--68