| * Copyright (c) 1997-2010,2013-2014 Wind River Systems, Inc. |
| * SPDX-License-Identifier: Apache-2.0 |
| * File Naming information. |
| * ------------------------ |
| * _B : Is a file that contains a benchmark function |
| * _R : Is a file that contains the receiver task |
| * of a benchmark function |
| BENCH_DMEM char data_recv[MESSAGE_SIZE] = { 0 }; |
| * @brief Main function of the task that receives data in the test |
| void recvtask(void *p1, void *p2, void *p3) |
| bool skip_mbox = (bool)(uintptr_t)(p1); |
| /* order must be compatible with master.c ! */ |
| k_sem_take(&STARTRCV, K_FOREVER); |
| k_sem_take(&STARTRCV, K_FOREVER); |
| k_sem_take(&STARTRCV, K_FOREVER); |
| k_sem_take(&STARTRCV, K_FOREVER); |