thread/m_threadpool.c
/*! pool->queue_lock must be locked before calling this function */
pool->queue_lock must be locked before calling this function
pool - > queue_lock must be locked before calling this function
static M_bool M_threadpool_thread_spawn(M_threadpool_t *pool)
{
	M_threadid_t threadid = M_thread_create(NULL, M_threadpool_thread, pool);
	if (threadid == 0)
		return M_FALSE;
	pool->num_threads++;
	return M_TRUE;
}
static M_bool M_threadpool_thread_spawn ( M_threadpool_t * pool ) { M_threadid_t threadid = M_thread_create ( NULL , M_threadpool_thread , pool ) ; if ( threadid == 0 ) return M_FALSE ; pool -> num_threads ++ ; return M_TRUE ; }
pool->queue_lock must be locked before calling this function
pool - > queue_lock must be locked before calling this function