Changeset 5851034 in rtems-libbsd


Ignore:
Timestamp:
Jun 15, 2016, 5:49:24 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5cb01f277962d3127d364bf871f799b34e6b6be6, freebsd-9.3, 9a4ed64d5acc20cd3488a633bd78cad7d1708081
Children:
32ceb14
Parents:
d6ad59d
Message:

reentrant.h: There is no main thread in RTEMS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/lib/libc/include/reentrant.h

    rd6ad59d r5851034  
    126126#define thr_self()              _pthread_self()
    127127#define thr_exit(x)             _pthread_exit(x)
     128#ifdef __rtems__
     129#define thr_main()              (0)
     130#else /* __rtems__ */
    128131#define thr_main()              _pthread_main_np()
     132#endif /* __rtems__ */
Note: See TracChangeset for help on using the changeset viewer.