examples: annotate examples
[nit.git] / lib / pthreads / examples / threadpool_example.nit
index f7fafd7..6647386 100644 (file)
 # limitations under the License.
 
 # Simple example using threadpool
-module threadpool_example
+module threadpool_example is example
 
 import threadpool
 
 # Task printing "hello world" on standard output
 class HWTask
-       super Task
+       super JoinTask
 
        # Sleeping time
        var sec: Int