Changeset 8b15a324 in rtems


Ignore:
Timestamp:
04/26/21 08:15:05 (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a84bf96
Parents:
0906321
git-author:
Sebastian Huber <sebastian.huber@…> (04/26/21 08:15:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/30/21 05:56:28)
Message:

Use alias for rtems_task_self() and pthread_self()

This may reduce the code size a bit.

Files:
1 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    r0906321 r8b15a324  
    621621librtemscpu_a_SOURCES += posix/src/pthreadjoin.c
    622622librtemscpu_a_SOURCES += posix/src/pthreadonce.c
    623 librtemscpu_a_SOURCES += posix/src/pthreadself.c
    624623librtemscpu_a_SOURCES += posix/src/pthreadsetaffinitynp.c
    625624librtemscpu_a_SOURCES += posix/src/pthreadsetnamenp.c
     
    801800librtemscpu_a_SOURCES += rtems/src/taskresume.c
    802801librtemscpu_a_SOURCES += rtems/src/tasks.c
    803 librtemscpu_a_SOURCES += rtems/src/taskself.c
    804802librtemscpu_a_SOURCES += rtems/src/tasksetaffinity.c
    805803librtemscpu_a_SOURCES += rtems/src/tasksetpriority.c
     
    965963librtemscpu_a_SOURCES += score/src/threadloadenv.c
    966964librtemscpu_a_SOURCES += score/src/threadrestart.c
     965librtemscpu_a_SOURCES += score/src/threadselfid.c
    967966librtemscpu_a_SOURCES += score/src/threadsetstate.c
    968967librtemscpu_a_SOURCES += score/src/threadstackallocate.c
  • cpukit/include/rtems/score/threadimpl.h

    r0906321 r8b15a324  
    903903  ISR_lock_Context  *lock_context
    904904);
     905
     906/**
     907 * @brief Gets the identifier of the calling thread.
     908 *
     909 * @return Returns the identifier of the calling thread.
     910 */
     911Objects_Id _Thread_Self_id( void );
    905912
    906913/**
  • spec/build/cpukit/librtemscpu.yml

    r0906321 r8b15a324  
    11201120- cpukit/posix/src/pthreadjoin.c
    11211121- cpukit/posix/src/pthreadonce.c
    1122 - cpukit/posix/src/pthreadself.c
    11231122- cpukit/posix/src/pthreadsetaffinitynp.c
    11241123- cpukit/posix/src/pthreadsetnamenp.c
     
    13001299- cpukit/rtems/src/taskresume.c
    13011300- cpukit/rtems/src/tasks.c
    1302 - cpukit/rtems/src/taskself.c
    13031301- cpukit/rtems/src/tasksetaffinity.c
    13041302- cpukit/rtems/src/tasksetpriority.c
     
    15491547- cpukit/score/src/threadrestart.c
    15501548- cpukit/score/src/threadscheduler.c
     1549- cpukit/score/src/threadselfid.c
    15511550- cpukit/score/src/threadsetstate.c
    15521551- cpukit/score/src/threadstackallocate.c
Note: See TracChangeset for help on using the changeset viewer.