Merge: Sys is top
[nit.git] / lib / pthreads / pthreads.nit
index bce93c4..8b8de1f 100644 (file)
 
 # Main POSIX threads support and intro the classes `Thread`, `Mutex` and `Barrier`
 module pthreads is
-       c_compiler_option("-pthread")
-       c_linker_option("-pthread")
+       cflags "-pthread"
+       ldflags "-pthread"
        pkgconfig "bdw-gc"
+       new_annotation threaded
 end
 
 #