pthreads :: AtomicInt :: decrement_and_get
Decrement the value and get the new onepthreads :: AtomicInt :: decrement_by_and_get
Decrement byi and get the new value
			pthreads :: AtomicInt :: defaultinit
pthreads :: AtomicInt :: get_and_decrement
Get the value and decrement itpthreads :: AtomicInt :: get_and_decrement_by
Get the value and decrement it byi
			pthreads :: AtomicInt :: get_and_increment
Get the value and increment itpthreads :: AtomicInt :: get_and_increment_by
Get the value and increment it byi
			pthreads :: AtomicInt :: increment_and_get
Increment the value and get the new onepthreads :: AtomicInt :: increment_by_and_get
Increment byi and get the new value
			core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			pthreads :: AtomicInt :: decrement_and_get
Decrement the value and get the new onepthreads :: AtomicInt :: decrement_by_and_get
Decrement byi and get the new value
			core :: Object :: defaultinit
pthreads :: AtomicInt :: defaultinit
core :: Pointer :: defaultinit
pthreads :: AtomicInt :: get_and_decrement
Get the value and decrement itpthreads :: AtomicInt :: get_and_decrement_by
Get the value and decrement it byi
			pthreads :: AtomicInt :: get_and_increment
Get the value and increment itpthreads :: AtomicInt :: get_and_increment_by
Get the value and increment it byi
			pthreads :: AtomicInt :: increment_and_get
Increment the value and get the new onepthreads :: AtomicInt :: increment_by_and_get
Increment byi and get the new value
			core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).
# An atomic Int
extern class AtomicInt in "C" `{ int* `}
	new(i: Int)`{
		int* v = malloc(sizeof(int));
		return v;
	`}
	# Get the value and increment it by `i`
	fun get_and_increment_by(i: Int): Int `{
		return __sync_fetch_and_add(self, i);
	`}
	# Get the value and decrement it by `i`
	fun get_and_decrement_by(i: Int): Int `{
		return __sync_fetch_and_sub(self, i);
	`}
	# Get the value and increment it
	fun get_and_increment: Int `{
		return __sync_fetch_and_add(self, 1);
	`}
	# Get the value and decrement it
	fun get_and_decrement: Int `{
		return __sync_fetch_and_sub(self, 1);
	`}
	# Increment by `i` and get the new value
	fun increment_by_and_get(i: Int): Int `{
		return __sync_add_and_fetch(self, i);
	`}
	# Decrement by `i` and get the new value
	fun decrement_by_and_get(i: Int): Int `{
		return __sync_sub_and_fetch(self, i);
	`}
	# Increment the value and get the new one
	fun increment_and_get: Int `{
		return __sync_add_and_fetch(self, 1);
	`}
	# Decrement the value and get the new one
	fun decrement_and_get: Int `{
		return __sync_sub_and_fetch(self,1);
	`}
	# Get the current value
	fun value: Int `{
		return *self;
	`}
end
					lib/pthreads/pthreads.nit:85,1--137,3