From: Sam Nelson Date: Thu, 1 Jun 2017 20:26:52 +0000 (-0400) Subject: host_linux: Temporarily disable local lock X-Git-Tag: 01.01.00.00~3^2 X-Git-Url: https://git.ti.com/gitweb?p=processor-sdk%2Fbig-data-ipc-examples.git;a=commitdiff_plain;h=3e4ff006f700b50d46734cd890ce5e02dfc457e8;hp=ee409e3cd99fdd1435da20e93127c0327a5c3c23;ds=inline host_linux: Temporarily disable local lock Currently GateMutex on linux is not supported in IPC for certain platforms Note: Disabling of the local lock will prevent using the Sharedregion and Heapmem APIs to be used from multiple threads. But given the example only supports single thread currently does not affect functionality Signed-off-by: Sam Nelson --- diff --git a/host_linux/simple_buffer_example/host/HeapMem/src/HeapMem.c b/host_linux/simple_buffer_example/host/HeapMem/src/HeapMem.c index 0c3f540..4c608af 100755 --- a/host_linux/simple_buffer_example/host/HeapMem/src/HeapMem.c +++ b/host_linux/simple_buffer_example/host/HeapMem/src/HeapMem.c @@ -90,7 +90,7 @@ #include "_SharedRegion.h" -#define ENABLE_LOCAL_LOCK +//#define ENABLE_LOCAL_LOCK /* Module level headers */ #include <_HeapMem.h> diff --git a/host_linux/simple_buffer_example/host/SharedRegion/src/SharedRegion.c b/host_linux/simple_buffer_example/host/SharedRegion/src/SharedRegion.c index f9c4ae1..a2cd47d 100755 --- a/host_linux/simple_buffer_example/host/SharedRegion/src/SharedRegion.c +++ b/host_linux/simple_buffer_example/host/SharedRegion/src/SharedRegion.c @@ -53,7 +53,7 @@ #include "_SharedRegion.h" -#define ENABLE_LOCAL_LOCK +//#define ENABLE_LOCAL_LOCK #define ROUNDUP(size, align) \ (UInt32)(((UInt32)(size) + ((UInt32)(align) - 1)) & ~((UInt32)(align) - 1))