Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2019 12:46:31 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Best thread pool implementation for the base system?
Message-ID:  <CAOtMX2gqrCsmAu5A8kGVwajOP%2B0euJVPxUpNwj2DS9iMvj6jvw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I count 5 thread pool implementations in contrib:
* cddl/compat/opensolaris/misc/thread_pool.c
* contrib/apr-util/misc/apr_thread_pool.c
* contrib/llvm/lib/Support/ThreadPool.cpp
* contrib/openmp/runtime/src/kmp_tasking.cpp
* contrib/ofed/opensm/complib/cl_threadpool.c

However, I can't find any examples outside of contrib.  I'd like to use one
in /sbin/geli.  Shall I roll my own (as everybody else apparently does), or
is there something I'm not aware of?

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gqrCsmAu5A8kGVwajOP%2B0euJVPxUpNwj2DS9iMvj6jvw>