Add SimpleMutex class and platform specific mutex function

Add SimpleMutex class and platform specific mutex function and SimpleMutex unit test

Can you replace the name mtx by mutex? 

thanks.  So far we have no vowel shortage in CppUTest :-)

On 12 Sep 2014, at 6:21, Bas Vodde wrote:

>> +    CHECK_EQUAL((tmpCreateCount + 1), mutexCreateCount);
>> +    CHECK_EQUAL((tmpDestroyCount + 1), mutexDestroyCount);
>> +}
>> +
>> +TEST(SimpleMutexTest, LockUnlockTest)
>> +{
>> +    int tmpCreateCount = mutexCreateCount;
>> +    int tmpLockCount = mutexLockCount;
>> +    int tmpUnlockCount = mutexUnlockCount;
>> +    int tmpDestroyCount = mutexDestroyCount;
>> +
>> +    do {
>> +        SimpleMutex mtx;
>> +        mtx.Lock();
>> +        mtx.Unlock();
>> +    } while (0);
>
> Same
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/cpputest/cpputest/pull/423/files#r17473993