Changeset 5e2a66d in rtems


Ignore:
Timestamp:
Jul 5, 2013, 12:53:57 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
0d018268
Parents:
6009da1
git-author:
Sebastian Huber <sebastian.huber@…> (07/05/13 12:53:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/05/13 14:01:04)
Message:

psxtests/psxhdrs: Fix cleanup push/pop test

The pthread_cleanup_push() and pthread_cleanup_pop() statements must
appear as a pair in the same lexical scope as required by POSIX.

Location:
testsuites/psxtests/psxhdrs
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxhdrs/Makefile.am

    r6009da1 r5e2a66d  
    1010    pthread19.c pthread20.c pthread21.c pthread22.c pthread23.c pthread24.c \
    1111    pthread25.c pthread26.c pthread27.c pthread28.c pthread29.c pthread30.c \
    12     pthread31.c pthread32.c pthread33.c pthread34.c pthread35.c pthread36.c \
     12    pthread31.c pthread32.c pthread34.c pthread35.c pthread36.c \
    1313    pthread37.c pthread38.c pthread39.c pthread40.c \
    1414    proc01.c proc02.c proc03.c proc04.c proc05.c proc06.c proc07.c proc08.c \
  • testsuites/psxtests/psxhdrs/pthread32.c

    r6009da1 r5e2a66d  
    2828)
    2929{
     30  (void) argument;
    3031}
    3132
     
    3738
    3839  pthread_cleanup_push( cleanup_routine, &argument );
     40  pthread_cleanup_pop( 1 );
    3941}
Note: See TracChangeset for help on using the changeset viewer.