Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of azure_c_shared_utility by
condition_rtx_mbed.cpp
00001 // Copyright (c) Microsoft. All rights reserved. 00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 00003 00004 #include "azure_c_shared_utility/lock.h" 00005 #include "azure_c_shared_utility/xlogging.h" 00006 #include "azure_c_shared_utility/condition.h" 00007 #include "rtos.h" 00008 00009 COND_HANDLE Condition_Init(void) 00010 { 00011 return NULL; 00012 } 00013 00014 COND_RESULT Condition_Post(COND_HANDLE handle) 00015 { 00016 COND_RESULT result; 00017 if (handle == NULL) 00018 { 00019 result = COND_INVALID_ARG; 00020 } 00021 else 00022 { 00023 00024 } 00025 return COND_ERROR; 00026 } 00027 00028 COND_RESULT Condition_Wait(COND_HANDLE handle, LOCK_HANDLE lock, int timeout_milliseconds) 00029 { 00030 COND_RESULT result; 00031 if (handle == NULL) 00032 { 00033 result = COND_INVALID_ARG; 00034 } 00035 else 00036 { 00037 result = COND_ERROR; 00038 } 00039 return result; 00040 } 00041 00042 void Condition_Deinit(COND_HANDLE handle) 00043 { 00044 if (handle != NULL) 00045 { 00046 } 00047 }
Generated on Tue Jul 12 2022 19:14:38 by
