Print this page
5881 corrected maxall vs. maxalloc in comments
@@ -76,11 +76,11 @@
* The backing task queue is also used for scheduling internal tasks needed for
* dynamic task queue maintenance.
*
* INTERFACES ==================================================================
*
- * taskq_t *taskq_create(name, nthreads, pri, minalloc, maxall, flags);
+ * taskq_t *taskq_create(name, nthreads, pri, minalloc, maxalloc, flags);
*
* Create a taskq with specified properties.
* Possible 'flags':
*
* TASKQ_DYNAMIC: Create task pool for task management. If this flag is
@@ -126,23 +126,23 @@
*
* The 'pri' field specifies the default priority for the threads that
* service all scheduled tasks.
*
* taskq_t *taskq_create_instance(name, instance, nthreads, pri, minalloc,
- * maxall, flags);
+ * maxalloc, flags);
*
* Like taskq_create(), but takes an instance number (or -1 to indicate
* no instance).
*
- * taskq_t *taskq_create_proc(name, nthreads, pri, minalloc, maxall, proc,
+ * taskq_t *taskq_create_proc(name, nthreads, pri, minalloc, maxalloc, proc,
* flags);
*
* Like taskq_create(), but creates the taskq threads in the specified
* system process. If proc != &p0, this must be called from a thread
* in that process.
*
- * taskq_t *taskq_create_sysdc(name, nthreads, minalloc, maxall, proc,
+ * taskq_t *taskq_create_sysdc(name, nthreads, minalloc, maxalloc, proc,
* dc, flags);
*
* Like taskq_create_proc(), but the taskq threads will use the
* System Duty Cycle (SDC) scheduling class with a duty cycle of dc.
*