summaryrefslogtreecommitdiff
path: root/tests/once3.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-06-30 02:07:14 +0000
committerrpj <rpj>2011-06-30 02:07:14 +0000
commit6e72bdd7414dff1db49dd943f440b201038a4576 (patch)
tree26cdde3533ef9b6114d099cc4da2af212b285c5c /tests/once3.c
parent5fdebbca2831af55fcd17d1819ec68dc17e2ec58 (diff)
Fixes for x64
Diffstat (limited to 'tests/once3.c')
-rw-r--r--tests/once3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/once3.c b/tests/once3.c
index 00fa421..ef12290 100644
--- a/tests/once3.c
+++ b/tests/once3.c
@@ -83,7 +83,7 @@ mythread(void * arg)
* Cancel every thread. These threads are deferred cancelable only, so
* only the thread performing the once routine (my_func) will see it (there are
* no other cancelation points here). The result will be that every thread
- * eventually cancels only when it becomes the new once thread.
+ * eventually cancels only when it becomes the new 'once' thread.
*/
assert(pthread_cancel(pthread_self()) == 0);
assert(pthread_once(&once[(int)(size_t)arg], myfunc) == 0);