Edward Lam

Results 11 issues of Edward Lam

Hi, I'm looking for a way to hook malloc() inside a library that's loaded via `dlopen()` with `RTLD_DEEPBIND`. Is this possible with plthook? Thanks!

Prior to oneTBB, it was quite easy to spawn a task, do some work, and then wait for it at some future point in time. With oneTBB, the only way...

help wanted

While the current documentation for migrating to oneTBB is good, I feel that it's still lacking some details. Perhaps a one to one port of the old https://www.threadingbuildingblocks.org/docs/help/index.htm#reference/task_scheduler/catalog_of_recommended_task_patterns.html to the...

enhancement
documentation

On Visual Studio 2019, the code does not build: ``` $ cl -I../include /O2 /permissive- /std:c++17 simple.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64 Copyright (C) Microsoft Corporation....

enhancement

In writing the *Install* steps in my [comment](https://github.com/AcademySoftwareFoundation/openvdb/issues/603#issuecomment-580097614) for #603, I needed to rejig the installation layout and would need to do less with some improvements: - openvdb_houdini needs to...

In the old tbb::task API, execute() methods were not marked as const. Therefore, it could mutate state within itself. This was often just needed for the duration of the execute...

enhancement

I'm trying to force openexr output to be single threaded via OPENIMAGEIO_THREADS, but that seems to be impossible. Should it be possible? In exroutput.cpp's [set_exr_threads()](https://github.com/OpenImageIO/oiio/blob/master/src/openexr.imageio/exroutput.cpp#L265), we have: ``` int oiio_threads...

I tried to add a custom thread pool provider for OpenEXR (using the internal `DefaultThreadPoolProvider` as reference) via `IlmThread::ThreadPool::globalThreadPool().setThreadProvider()`. It seems that the provider should call `task->group()->_data->removeTask();` after executing the...

I built my project with clang-cl version 16.0.6 and -ftime-trace. When I run ClangBuildAnalyzer on it, I get: ``` $ ClangBuildAnalyzer.exe --all ninja_project_Release buildAnalyze.bin Processing all files and saving to...

@e4lam , `TBB_malloc_replacement_log()` function that provides this functionality is available in [TBB2019 U4](https://github.com/01org/tbb/blob/2019_U4/CHANGES#L21-L22) _Originally posted by @ivankochin in https://github.com/intel/tbb/pull/68#issuecomment-469252501_ I'm finally upgrading to TBB 2019 and found an issue with...

enhancement