Fix Solaris thread dependency by using pthreads
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 26 Aug 2010 17:43:27 +0000 (10:43 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:47 +0000 (08:38 -0700)
commit1e33ac1e2677c898a0b5ef6207048c692cb51bf4
treeae64d55d71c7d3ff46a8b79aed0c8081f2ba965c
parent8a8f5c6b3ca44248b47a4a65515d7828803c71ff
Fix Solaris thread dependency by using pthreads

This is a portability change which removes the dependence of the Solaris
thread library.  All locations where Solaris thread API was used before
have been replaced with equivilant Solaris kernel style thread calls.
In user space the kernel style threading API is implemented in term of
the portable pthreads library.  This includes all threads, mutexs,
condition variables, reader/writer locks, and taskqs.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
cmd/ztest/ztest.c
lib/libuutil/uu_misc.c
lib/libzpool/include/sys/zfs_context.h
lib/libzpool/kernel.c
lib/libzpool/taskq.c