Cancel the execution of the thread

Property definitions

pthreads :: extra $ Thread :: cancel
	# Cancel the execution of the thread
	fun cancel
	do
		if native == null then return
		native.cancel
		native = null
	end
lib/pthreads/extra.nit:40,2--46,4