From 2e77a7fb14331b3d734aad3d500732dd51dcb32e Mon Sep 17 00:00:00 2001 From: Matt Raybuck Date: Wed, 24 Oct 2018 07:59:26 -0500 Subject: Attribute support for recursive mutexes Added a new recursive mutex attribute, new test cases, and initializers for recursive mutex attributes. Change-Id: I49e6bc4fc2fd84e5c46e5d4c5ec125270347bde5 RTC: 196793 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67939 Reviewed-by: Nicholas E. Bofferding Reviewed-by: Ilya Smirnov Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/runtime/rt_sync.C | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/runtime') diff --git a/src/runtime/rt_sync.C b/src/runtime/rt_sync.C index 86d1b426b..0b7cc027e 100644 --- a/src/runtime/rt_sync.C +++ b/src/runtime/rt_sync.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2018 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -22,6 +24,10 @@ /* IBM_PROLOG_END_TAG */ #include +void recursive_mutex_init(mutex_t*) {}; +void recursive_mutex_destroy(mutex_t*) {}; +void recursive_mutex_lock(mutex_t*) {}; +void recursive_mutex_unlock(mutex_t*) {}; void mutex_init(mutex_t*) {}; void mutex_destroy(mutex_t*) {}; void mutex_lock(mutex_t*) {}; -- cgit v1.2.1