diff --git a/framework/platform/windows/semaphore.c b/framework/platform/windows/semaphore.c
+++ /dev/null
@@ -1,182 +0,0 @@
-/*\r
- * semaphore.c\r
- *\r
- * This module contains the POSIX wrapper for Semaphore.\r
- *\r
- * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/\r
- *\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- *\r
- * Redistributions of source code must retain the above copyright\r
- * notice, this list of conditions and the following disclaimer.\r
- *\r
- * Redistributions in binary form must reproduce the above copyright\r
- * notice, this list of conditions and the following disclaimer in the\r
- * documentation and/or other materials provided with the\r
- * distribution.\r
- *\r
- * Neither the name of Texas Instruments Incorporated nor the names of\r
- * its contributors may be used to endorse or promote products derived\r
- * from this software without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\r
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\r
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\r
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\r
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\r
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\r
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\r
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
- *\r
- */\r
-\r
-/*********************************************************************\r
- * INCLUDES\r
- */\r
-\r
-#include <errno.h>\r
-#include <stdio.h>\r
-#include <stdlib.h>\r
-#include <unistd.h>\r
-#include <string.h>\r
-\r
-\r
-\r
-#include "semaphore.h"\r
-\r
-/*********************************************************************\r
- * MACROS\r
- */\r
-\r
-\r
-/*********************************************************************\r
- * CONSTANTS\r
- */\r
-\r
-/************************************************************\r
- * TYPEDEFS\r
- */\r
-\r
-/*********************************************************************\r
- * GLOBAL VARIABLES\r
- */\r
-\r
-/*********************************************************************\r
- * LOCAL VARIABLES\r
- */\r
-\r
-/*********************************************************************\r
- * LOCAL FUNCTIONS DECLARATIONS\r
- */\r
-\r
-\r
-/*********************************************************************\r
- * API FUNCTIONS\r
- */\r
-\r
-sem_t *sem_open(const char *name, int oflag)\r
-{\r
- sem_t* sem;\r
-\r
-\r
- // allocate memory for handle\r
- sem = (sem_t *) malloc(sizeof(sem_t));\r
- if(sem == NULL)\r
- {\r
- // set error\r
- sem = SEM_FAILED;\r
- }\r
-\r
- return sem;\r
-}\r
-\r
-int sem_close(sem_t *sem)\r
-{\r
- int ret = 0;\r
-\r
-\r
-\r
- return ret;\r
-}\r
-\r
-int sem_init(sem_t *sem, int pshared, unsigned int value)\r
-{\r
- int ret = 0;\r
-\r
- // create semaphore instance\r
- (*sem) = (sem_t)value;\r
- if(*sem == NULL)\r
- {\r
- // error\r
- ret = -1;\r
-\r
- // set errno - TODO\r
- }\r
-\r
- return ret;\r
-}\r
-\r
-int sem_destroy (sem_t *sem)\r
-{\r
- int ret = -1;\r
-\r
-\r
-\r
- return ret;\r
-}\r
-\r
-int sem_wait(sem_t * sem)\r
-{\r
-\r
- while(*sem != (sem_t)1);\r
- *sem = (sem_t)0;\r
- return 0;\r
-}\r
-\r
-int sem_timedwait(sem_t * sem, const struct timespec * abs_timeout)\r
-{\r
- time_t timeout;\r
-\r
- // calculate timeout\r
- timeout = ((abs_timeout->tv_sec -time(0)) * (1000UL)) +(abs_timeout->tv_nsec/(1000UL));\r
- while(timeout-- > 0 && *sem != (sem_t)1)\r
- {\r
- usleep(1);\r
- }\r
- if(*sem == (sem_t)1)\r
- {\r
- *sem = (sem_t)0;\r
- return 0;\r
- }\r
-\r
- return -1;\r
-}\r
-\r
-int sem_post(sem_t * sem)\r
-{\r
- int ret = -1;\r
-\r
- if(*sem == (sem_t)0)\r
- {\r
- // post semaphore\r
- *sem = (sem_t)1;\r
-\r
- // return success\r
- ret = 0;\r
- }\r
-\r
-\r
- return ret;\r
-}\r
-\r
-\r
-/*********************************************************************\r
- * LOCAL FUNCTIONS DEFINITIONS\r
- */\r
-\r