mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
Intel oneAPI tbb 2021.1 (onetbb) has been released[1][2] and has deprecated several interfaces over tbb 2020, breaking most dependent ports. Old tbb 2020 will be kept for a certain time to allow transition but will be removed in a near future as it CONFLICTS with devel/onetbb. New ports should now use devel/onetbb instead of devel/tbb. We tried to move a maximum number of dependent ports to devel/onetbb (or disable dependency when not possible), but some of them still remain stuck to devel/tbb. Remaining ones have not been identified as major dependencies themselves and will be fixed as soon as updates are available from upstream. PR: 252648, 252688 [3], 252683 [4], 252651 [5], 252690 [3], 252693 [3], 252695 [3], 252696 [3], 252786 [3], 252649, 252868 [6], 252870 [5], 252684 [7], 252785 [7] Approved by: yuri [3], jwb [4], thierry [5], FreeBSD@Shaneware.biz [6], maintainer timeout [7] [1] https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-threading-building-blocks-release-notes.html [2] https://software.intel.com/content/www/us/en/develop/articles/tbb-revamp.html
15 lines
737 B
C
15 lines
737 B
C
--- source/blender/blenlib/BLI_task.h.orig 2021-01-21 08:02:26 UTC
|
|
+++ source/blender/blenlib/BLI_task.h
|
|
@@ -104,8 +104,10 @@ void BLI_task_pool_work_and_wait(TaskPool *pool);
|
|
/* cancel all tasks, keep worker threads running */
|
|
void BLI_task_pool_cancel(TaskPool *pool);
|
|
|
|
-/* for worker threads, test if canceled */
|
|
-bool BLI_task_pool_canceled(TaskPool *pool);
|
|
+/* for worker threads, test if current task pool canceled. this function may
|
|
+ * only be called from worker threads and pool must be the task pool that the
|
|
+ * thread is currently executing a task from. */
|
|
+bool BLI_task_pool_current_canceled(TaskPool *pool);
|
|
|
|
/* optional userdata pointer to pass along to run function */
|
|
void *BLI_task_pool_user_data(TaskPool *pool);
|