Changeset 1f0e004e in rtems


Ignore:
Timestamp:
Jan 26, 2016, 4:41:36 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ab8e821
Parents:
dcb1dc4d
git-author:
Sebastian Huber <sebastian.huber@…> (01/26/16 16:41:36)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/26/16 16:41:56)
Message:

sptests/spsyslock01: Disable POSIX dependent parts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsyslock01/init.c

    rdcb1dc4d r1f0e004e  
    494494}
    495495
     496#ifdef RTEMS_POSIX_API
    496497static void deadlock_cleanup(void *arg)
    497498{
     
    506507  _Mutex_Destroy(deadlock_mtx);
    507508}
     509#endif
    508510
    509511static void high_task(rtems_task_argument idx)
     
    555557      struct _Mutex_Control *deadlock_mtx = &ctx->deadlock_mtx;
    556558
     559#ifdef RTEMS_POSIX_API
    557560      pthread_cleanup_push(deadlock_cleanup, deadlock_mtx);
     561#endif
    558562
    559563      _Mutex_Initialize(deadlock_mtx);
     
    561565      _Mutex_Acquire(deadlock_mtx);
    562566
     567#ifdef RTEMS_POSIX_API
    563568      pthread_cleanup_pop(0);
     569#endif
    564570    }
    565571
     
    677683  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    678684
     685#ifdef RTEMS_POSIX_API
    679686  sc = rtems_task_delete(ctx->high[0]);
    680687  rtems_test_assert(sc == RTEMS_SUCCESSFUL);
     688#endif
    681689
    682690  sc = rtems_task_delete(ctx->high[1]);
Note: See TracChangeset for help on using the changeset viewer.