gcc 4.7.2
Apache Portable Runtime
你好,
我开始使用线程进行 apr。我的程序将使用很多线程,我想使用线程池以便更好地控制它们。
但是,apr 并没有太多关于创建线程池的文档。我看过以下api
/* Create the threading pool */
apr_thread_pool_create
/* Would I still need to do this, as the below api will create new thread? */
apr_thread_create
/* Or would this be better */
apr_procattr_create
/* When all finished */
apr_thread_pool_destroy
APR 的文档似乎非常有限。
非常感谢您的任何建议,