Pavel Kumbrasev

Results 121 comments of Pavel Kumbrasev

Hi @ilya-lavrenov, do you mean that TBBBind not being part of apt-get install libtbb-dev is a bug?

Hi @TrianglesPCT, it's strange behavior that enqueue task doesn't executed at all. First off all, It make sense to migrate to oneTBB because we fixed a lot bugs. From you...

> Does this change introduce any new dependencies for either compilation/link time or execution time which need to be documented? > > Do we know that the dispatch semaphore has...

It seems that from dispatch_semaphore_t [documentation](https://developer.apple.com/documentation/dispatch/1452919-dispatch_semaphore_signal) there should not be spurious wakeups during `wait` calls. Also from the [implementation](https://opensource.apple.com/source/libdispatch/libdispatch-84.5/src/semaphore.c) point of view they have similar while loop on `case DISPATCH_TIME_FOREVER`.

Hi @natale-p, we are going to merge it after we will satisfy all test requirements for it. (I hope it will be soon)

Hi @bubnikv, I did not fully understand the "First" suggestion. Do you suggest pass additional argument on threads creation on Apple system? Second one, affinity_helper uses to respect affinity mask...

In your case you can try to use task_arena constraints - [specification link](https://spec.oneapi.io/versions/1.1-rev-1/elements/oneTBB/source/task_scheduler/task_arena/task_arena_cls.html). You could create task_arena and decide which tasks would be executed on performance CPUs and which not....

In my point of view with current oneTBB design the solution with `task_scheduler_observer` + user_callback (with a thread_local) seems good. Also you can suggest a patch with you think should...

In my understanding of `enumerable_thread_specific` after the first touch via `ets.local()` there should not be much overhead over standard TLS. You might also try to use [thread_local](https://en.cppreference.com/w/cpp/keyword/thread_local) it should works...

We will discuss this problem. Thank you for proposed solution, on first glance it should be not be used for all configurations. If this issue related only to MSVC +...