On Saturday, November 20, 2010 5:00:34 am Andriy Gapon wrote:
> on 19/11/2010 18:58 John Baldwin said the following:
> > On Friday, November 19, 2010 11:20:04 am Andriy Gapon wrote:
> >> BTW, tq_name doesn't seem to be used anywhere at all.
> >> Perhaps just drop it?  But still could be useful in a debugger, though.
> > 
> > If it's not used anywhere I would just drop it.
> > 
> 
> struct taskqueue is defined privately in sys/kern/subr_taskqueue.c and tq_name
> is used "write-only" in _taskqueue_create().
> 
> So, no use for tq_name at all?

No.  Especially since the structure is private it can always be revived if a
use is found for it.  You can probably leave the taskqueue_create() API the
same for now though.

-- 
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to