Add documentation for the threaded annotation
authorBlackMinou <romain.chanoir@viacesi.fr>
Wed, 1 Apr 2015 06:56:46 +0000 (08:56 +0200)
committerBlackMinou <romain.chanoir@viacesi.fr>
Wed, 1 Apr 2015 14:00:47 +0000 (16:00 +0200)
Signed-off-by: BlackMinou <romain.chanoir@viacesi.fr>

lib/pthreads/README.md

index e612dbe..4a117b4 100644 (file)
@@ -11,6 +11,9 @@ This group also provides two optional modules with thread-safe collections:
 
 Theses services are implemented using the POSIX threads.
 
+You can also use the `is threaded` annotation on methods, which makes them run on their own thread.
+Methods with return value or self calls are not supported.
+
 ## Known limitations:
 
 * Most services from the Nit library are not thread-safe. You must manage