Changeset 5851034 in rtems-libbsd for freebsd/lib/libc/include/reentrant.h


Ignore:
Timestamp:
Jun 15, 2016, 5:49:24 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 9dd0bc27e3338bad08eaaf52d03265d2e7b9b4f7, 7027254d293cf3a8c888bd9f25052e96f458bc67, freebsd-9.3, d164b840c3973e0793da1b3e4142b1711514b9ba
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.