diff options
Diffstat (limited to 'build2/scheduler.hxx')
-rw-r--r-- | build2/scheduler.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/scheduler.hxx b/build2/scheduler.hxx index 70dbf04..f79ca3e 100644 --- a/build2/scheduler.hxx +++ b/build2/scheduler.hxx @@ -326,9 +326,12 @@ namespace build2 create_helper (lock&); // We restrict ourselves to a single pointer as an argument in hope of - // a small object optimization. + // a small object optimization. Return NULL. // - static void + // Note that the return type is void* to make the function usable with + // pthreads (see scheduler.cxx for details). + // + static void* helper (void*); size_t |