Changeset f49a82f3 in rtems
- Timestamp:
- Jan 13, 2005, 8:25:52 AM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ab660e77
- Parents:
- 83774d7
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r83774d7 rf49a82f3 1 2005-01-13 Joel Sherrill <joel@oarcorp.com> 2 Ralf Corsepius <ralf.corsepius@rtems.org> 3 4 * libcsupport/src/gxx_wrapper.c: Reflect GCC-4.0's gthr-rtems.h. 5 1 6 2005-01-09 Joel Sherrill <joel@oarcorp.com> 2 7 -
cpukit/libcsupport/src/gxx_wrappers.c
r83774d7 rf49a82f3 17 17 */ 18 18 19 /* 20 * This file is only used if using gcc 21 */ 22 #if defined(__GNUC__) 23 19 24 #if HAVE_CONFIG_H 20 25 #include "config.h" … … 40 45 typedef int __gthread_once_t; 41 46 typedef void *__gthread_mutex_t; 42 47 typedef void *__gthread_recursive_mutex_t; 43 48 44 49 /* uncomment this if you need to debug this interface */ … … 216 221 return (rtems_semaphore_release( (rtems_id)*mutex ) == RTEMS_SUCCESSFUL) ? 0 :-1; 217 222 } 223 224 void rtems_gxx_recursive_mutex_init_function(__gthread_recursive_mutex_t *mutex) 225 { 226 rtems_gxx_mutex_init(mutex); 227 } 228 229 int rtems_gxx_recursive_mutex_lock(__gthread_recursive_mutex_t *mutex) 230 { 231 return rtems_gxx_mutex_lock(mutex); 232 } 233 234 int rtems_gxx_recursive_mutex_trylock(__gthread_recursive_mutex_t *mutex) 235 { 236 return rtems_gxx_mutex_trylock(mutex); 237 } 238 239 int rtems_gxx_recursive_mutex_unlock(__gthread_recursive_mutex_t *mutex) 240 { 241 return rtems_gxx_mutex_unlock(mutex); 242 } 243 244 #endif /* __GNUC__ */
Note: See TracChangeset
for help on using the changeset viewer.