summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/gxx_wrappers.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete rtems_gxx_*() implementationSebastian Huber2022-01-271-261/+0
| | | | | | | | | | | GCC versions prior to 6.1 used a RTEMS thread model based on rtems_gxx_*() functions. GCC version 6.1 or later uses the self-contained synchronization objects of Newlib <sys/lock.h> for the RTEMS thread model. Remove the obsolete implementation. Close #3143.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* posix: Optimize pthread_once_tSebastian Huber2017-10-051-1/+1
| | | | | | Reduce size of pthread_once_t and make it zero-initialized. Update #3142.
* score: Introduce _Internal_error()Sebastian Huber2016-12-121-2/+2
|
* score: Remove fatal is internal indicatorSebastian Huber2016-12-091-10/+2
| | | | | | | | | The fatal is internal indicator is redundant since the fatal source and error code uniquely identify a fatal error. Keep the fatal user extension is internal parameter for backward compatibility and set it to false always. Update #2825.
* libcsupport: Use POSIX keys for GXX key functionsChristian Mauderer2014-03-241-60/+52
| | | | | With this patch C++ applications now eventually need additional POSIX-keys and POSIX-key-value-pairs configured.
* libcsupport: Remove unused gxx-wrapper function.Christian Mauderer2014-03-241-10/+0
| | | | The rtems_gxx_key_dtor function is not longer used by gcc.
* score: Unify pthread and gxx_wrapper once and move to score.Christian Mauderer2014-03-211-13/+2
|
* score: Rename _Internal_error_Occurred()Sebastian Huber2014-02-211-2/+2
| | | | Rename _Internal_error_Occurred() into _Terminate().
* libcsupport: Doxygen enhancement task #9Alex Ivanov2012-12-131-2/+7
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-11-161-0/+2
| | | | | PR 1717/cpukit * libcsupport/src/gxx_wrappers.c: Free memory on error.
* 2010-08-23 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-231-21/+12
| | | | | | | | | | | | PR 1671/cpukit * libcsupport/include/rtems/gxx_wrappers.h: New file. * libcsupport/Makefile.am, libcsupport/preinstall.am: Reflect change above. * libcsupport/src/gxx_wrappers.c: Include <rtems/gxx_wrappers.h>. Use _Internal_error_Occurred() instead of rtems_panic(). * score/include/rtems/score/interr.h: Added INTERNAL_ERROR_GXX_KEY_ADD_FAILED and INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED.
* 2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-251-1/+2
| | | | | * libcsupport/src/gxx_wrappers.c: Free contents of key not key itself. Kye pointer will never be malloc'ed.
* 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-011-120/+157
| | | | | * libcsupport/src/getegid.c, libcsupport/src/gxx_wrappers.c, libcsupport/src/issetugid.c: Formatting and spacing.
* 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-281-1/+1
| | | | | | | | | * libcsupport/src/__brk.c, libcsupport/src/__gettod.c, libcsupport/src/__times.c, libcsupport/src/fchdir.c, libcsupport/src/ftrylockfile.c, libcsupport/src/getpwent.c, libcsupport/src/gxx_wrappers.c, libcsupport/src/libio_sockets.c, libcsupport/src/pipe.c: Use rtems_set_errno_and_return_minus_one() where it was missed before.
* 2009-01-29 Eric Norum <norume@aps.anl.gov>Joel Sherrill2009-01-291-9/+10
| | | | | | PR 1364/cpukit * libcsupport/src/gxx_wrappers.c: Fix compilation problems when diagnostics enabled.
* 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-01-051-4/+5
| | | | | | | | | | | | | | | | | | | | | | | * libcsupport/src/gxx_wrappers.c, posix/include/mqueue.h, posix/include/rtems/posix/semaphore.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/key.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/spinlock.inl, posix/inline/rtems/posix/timer.inl, posix/src/condget.c, posix/src/mqueuenametoid.c, posix/src/mutexget.c, posix/src/semaphorenametoid.c, posix/src/semopen.c, sapi/src/itronapi.c, sapi/src/posixapi.c: Make changes necessary for all tests to run on SPARC with 16-bit Ids. This required ensuring that all POSIX and compilering binding code makes a distinction between the public Id type (e.g. pthread_t, etc.) and the RTEMS Object_Id type. All POSIX Object Get routines should not take the POSIX Id type as the argument. Sixteen bit RTEMS Ids should be placed into the 32-bits reserved by the POSIX API type in a uniform manner now. This removed all assumptions that the external Id types in POSIX and ITRON are the same as the internal Object Id type.
* 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-051-0/+9
| | | | | * libcsupport/src/gxx_wrappers.c: Add rtems_gxx_mutex_destroy as needed by gcc newer than the 4.3 release series.
* 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-251-4/+4
| | | | * libcsupport/src/gxx_wrappers.c: Revert.
* 2007-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-09-251-4/+4
| | | | | * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use PRId32 to fix warning.
* 2007-02-06 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-02-061-13/+22
| | | | | | * libcsupport/src/gxx_wrappers.c: fix PR#690. Supply taskvar dtor to plug memory leak. Applied patch attached to PR#690.
* 2005-08-02 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-08-021-1/+1
| | | | | | | PR 817/rtems * libcsupport/src/gxx_wrappers.c: Rename rtems_gxx_recursive_mutex_init_function to rtems_gxx_recursive_mutex_init.
* Fix typos.Ralf Corsepius2005-01-141-2/+2
|
* 2005-01-13 Joel Sherrill <joel@oarcorp.com>Ralf Corsepius2005-01-131-1/+28
| | | | | | Ralf Corsepius <ralf.corsepius@rtems.org> * libcsupport/src/gxx_wrapper.c: Reflect GCC-4.0's gthr-rtems.h.
* Remove stray white spaces.Ralf Corsepius2004-04-181-6/+6
|
* Remove stray white spaces.Ralf Corsepius2004-04-151-1/+0
|
* 2001-04-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-261-1/+1
| | | | | * libc/gxx_wrappers.c: Fix to keep prototype same as in gcc and remove warning.
* 2002-03-01 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-03-011-10/+9
| | | | | | * libc/gxx_wrappers.c: Task is not preemptable while running a pthread_once init function. This is slightly less heavy handed than disabling dispatching and seems better than consuming a mutex.
* 2002-02-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-01-081-0/+1
| | | | * libc/gxx_wrappers.c: Add #include <rtems/error.h>.
* 2001-09-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-09-211-7/+2
| | | | * libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
* 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-081-0/+4
| | | | | | | * configure.in: Add libc/config.h * libc/Makefile.am: Add INCLUDES += -I. to pickup config.h * libc/.cvsignore: Add config.h and stamp-h * libc/*.c: Add config.h support.
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-0/+219
|
* New file added on 4.5 branchJoel Sherrill2000-05-081-0/+0