summaryrefslogtreecommitdiff
path: root/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c
blob: 681dc86974010df0356ca46ccca52f0d9727f360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/***************************************************************************/
/* Copyright (c) 2024 Microsoft Corporation                                */
/* Copyright (c) 2026 Eclipse ThreadX contributors                         */
/*                                                                         */
/* This program and the accompanying materials are made available under    */
/* the terms of the MIT License which is available at                      */
/* https://opensource.org/licenses/MIT.                                    */
/*                                                                         */
/* SPDX-License-Identifier: MIT                                            */
/***************************************************************************/

#include "tls_test_frame.h"

/* Post semaphore. */
INT tls_test_semaphore_post( TLS_TEST_SEMAPHORE* semaphore_ptr)
{
    return sem_post( semaphore_ptr);
}