File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -283,15 +283,6 @@ API_FUNC hw_pool_init_status hw_pool_init(uint32_t num_threads) {
283283 while (i < num_threads ) {
284284 pooled_thread_control * thread_control =
285285 (pooled_thread_control * )(buffer + alignment * (size_t )i );
286- // Initialize the thread control struct in two 128b atomic writes.
287- // TODO: It's possible to just do this in a single 256b atomic write on most
288- // x86 platforms. That may also require increasing the alignment constraints
289- // for the control_slice.
290- // TODO: also ifdef in an implementation for platforms that can't do
291- // lock-free 128b writes or that don't handle mixed-size atomic writes.
292- // TODO: making some kind of ifunc to handle this initialization is probably
293- // actually the right way to do it because it's hard to know enough about
294- // the CPU at compile-time.
295286 init_thread_control (thread_control , i , & hw_pool );
296287 int status ;
297288#ifdef QPOOL_USE_PTHREADS
You can’t perform that action at this time.
0 commit comments