remove debug printing from future

This commit is contained in:
Marcus Godwin
2016-06-13 20:21:23 -04:00
parent 1318e71efd
commit e3c1cbf27e

View File

@@ -1,4 +1,3 @@
import io:*
__if_comp__ __C__ simple_passthrough(::"-pthread") """
#include <pthread.h>
@@ -53,7 +52,6 @@ obj future<T> {
psy = in
wrapper = fun() : void{
result = psy()
println(status)
pthread_exit()
}
return this
@@ -69,9 +67,6 @@ obj future<T> {
fun finish() : T {
pthread_join(&thread)
print("FINISHED THREAD ")
print(result)
print("\n")
return result
}
}