diff options
| author | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | 2016-08-08 10:08:14 +0000 |
|---|---|---|
| committer | Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> | 2016-08-08 10:08:14 +0000 |
| commit | bedc371c9da61289d82b18acbe5f7bb0fc1d9869 (patch) | |
| tree | c04c0ac9427c2229736b2265c38430060ae0e6c5 /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp | |
| parent | 69f8511f8f47c7fab6c8dda663d394b4176f93e5 (diff) | |
| download | llvm-bedc371c9da61289d82b18acbe5f7bb0fc1d9869.zip llvm-bedc371c9da61289d82b18acbe5f7bb0fc1d9869.tar.gz llvm-bedc371c9da61289d82b18acbe5f7bb0fc1d9869.tar.bz2 | |
Do not block on explicit task depending on proxy task
Consider the following code:
int dep;
#pragma omp target nowait depend(out: dep)
{
sleep(1);
}
#pragma omp task depend(in: dep)
{
printf("Task with dependency\n");
}
printf("Doing some work...\n");
In its current state the runtime will block on the second task and not
continue execution.
Differential Revision: https://reviews.llvm.org/D23116
llvm-svn: 277992
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
0 files changed, 0 insertions, 0 deletions
