Skip to content

Commit

Permalink
Fix shmem_test arguments in osh_basic_tc7.c (#38)
Browse files Browse the repository at this point in the history
* Fix shmem_test arguments in osh_basic_tc7.c

Signed-off-by: David M. Ozog <david.m.ozog@intel.com>

* Simplify change to shmem_test in osh_basic_tc7.c

Signed-off-by: David M. Ozog <david.m.ozog@intel.com>
  • Loading branch information
davidozog authored and yosefe committed Jan 3, 2019
1 parent 30ba10d commit e1d39bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifier/basic/osh_basic_tc7.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int osh_basic_tc7(const TE_NODE *node, int argc, const char *argv[])
int wait_time = 0;
//wait for pe #1 to change my variable
//and do some important work in the while
while (shmem_int_test(&test_variable, 0, SHMEM_CMP_EQ) && wait_time < 5000000)
while (shmem_int_test(&test_variable, SHMEM_CMP_EQ, 0) && wait_time < 5000000)
{
usleep(1000);
wait_time += 1000;
Expand Down

0 comments on commit e1d39bb

Please sign in to comment.