freebsd-nq/cddl/compat/opensolaris/include
Alexander Motin afb8674c79 Import adapted OpenSolaris' thread pool API implementation.
The thread pool is used by libzfs to implement parallel disk scanning.
Without this change our dummy wrapper made `zpool import ZZZ` command to
scan all disks sequentially from the single thread when searching for pools.
This change makes it use two threads per CPU, same as in OpenSolaris.

On system with 200 HDDs this change reduces ZFS pool import time from 35
to 22 seconds.
2014-05-08 16:59:36 +00:00
..
alloca.h
assert.h Remove C constructs that are incompatible with C++ from various 2011-06-10 20:10:30 +00:00
devid.h
dtrace.h
fcntl.h
fsshare.h
libintl.h
libproc.h
libshare.h
mnttab.h
priv.h
sha2.h
solaris.h
stdio.h
stdlib.h GNU/kFreeBSD portability fix. This glue <stdlib.h> overrides header protection 2012-04-30 23:12:16 +00:00
strings.h
thread_pool.h Import adapted OpenSolaris' thread pool API implementation. 2014-05-08 16:59:36 +00:00
unistd.h
zone.h