diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-01-12 17:21:55 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-01-12 17:21:55 +0000 |
commit | 3076fa4c35fc482af2c66747b41c818ae1e4366c (patch) | |
tree | f3cf3ae72e961c4bdd6e4bb960e0624a2b03c336 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py | |
parent | f421837250edb3863ce6e7d9e2a08bfc3810639d (diff) | |
download | bcm5719-llvm-3076fa4c35fc482af2c66747b41c818ae1e4366c.tar.gz bcm5719-llvm-3076fa4c35fc482af2c66747b41c818ae1e4366c.zip |
New API for restoring current thread's affinity to init affinity of application
This new API, int kmp_set_thread_affinity_mask_initial(), is available for use
by other parallel runtime libraries inside a possibly OpenMP-registered thread.
This entry point restores the current thread's affinity mask to the affinity
mask of the application when it first began. If -1 is returned it can be assumed
that either the thread hasn't called affinity initialization or that the thread
isn't registered with the OpenMP library. If 0 is returned then, then the call
was successful. Any return value greater than zero indicates an error occurred
when setting affinity.
Differential Revision: http://reviews.llvm.org/D15867
llvm-svn: 257489
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py')
0 files changed, 0 insertions, 0 deletions