Get the value and increment it

Property definitions

pthreads $ AtomicInt :: get_and_increment
	# Get the value and increment it
	fun get_and_increment: Int `{
		return __sync_fetch_and_add(self, 1);
	`}
lib/pthreads/pthreads.nit:102,2--105,3