nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef718f4
)
pthreads: fix `NativePthread::equal`
author
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 25 Nov 2014 16:54:42 +0000
(11:54 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Tue, 25 Nov 2014 16:56:46 +0000
(11:56 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/pthreads/pthreads.nit
patch
|
blob
|
history
diff --git
a/lib/pthreads/pthreads.nit
b/lib/pthreads/pthreads.nit
index
d4af111
..
98fc113
100644
(file)
--- a/
lib/pthreads/pthreads.nit
+++ b/
lib/pthreads/pthreads.nit
@@
-122,7
+122,7
@@
private extern class NativePthread in "C" `{ pthread_t * `}
return pattr;
`}
- fun equal(other: NativePthread): Bool `{ pthread_equal(*recv, *other); `}
+ fun equal(other: NativePthread): Bool `{ return pthread_equal(*recv, *other); `}
fun kill(signal: Int) `{ pthread_kill(*recv, signal); `}
end