Wraps self in a thread-safe collection

Property definitions

pthreads :: concurrent_collections $ Collection :: to_concurrent
	# Wraps `self` in a thread-safe collection
	fun to_concurrent: CONCURRENT is abstract
lib/pthreads/concurrent_collections.nit:44,2--45,42

pthreads :: concurrent_collections $ List :: to_concurrent
	redef fun to_concurrent do return new ConcurrentList[E].wrap(self)
lib/pthreads/concurrent_collections.nit:65,2--67

pthreads :: concurrent_collections $ Array :: to_concurrent
	redef fun to_concurrent do return new ConcurrentArray[E].wrap(self)
lib/pthreads/concurrent_collections.nit:59,2--68