index 514afbcf922986e0ecf58c07056e8b6225a05fd5..32608ab367e33f84a50e55f78c1d2544f62c358b 100644 (file)
/*
- * Copyright (c) 2013, Texas Instruments Incorporated
+ * Copyright (c) 2013-2015, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Void GateMutex_leave (GateMutex_Handle gmHandle, IArg key)
{
GateMutex_Object * obj = (GateMutex_Object *)gmHandle;
+#if defined(IPC_BUILD_DEBUG)
int ret;
ret = pthread_mutex_unlock(&(obj->mutex));
assert(ret == 0);
+#else
+ pthread_mutex_unlock(&(obj->mutex));
+#endif
}