Mercurial > nand-ecoscentric
diff packages/kernel/current/include/thread.hxx @ 210:d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
| author | jlarmour |
|---|---|
| date | Thu, 23 May 2002 22:59:51 +0000 |
| parents | e0c0827131d1 |
| children | eead27d1aa2f |
line wrap: on
line diff
--- a/packages/kernel/current/include/thread.hxx +++ b/packages/kernel/current/include/thread.hxx @@ -37,7 +37,7 @@ // this file might be covered by the GNU General Public License. // // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. -// at http://sources.redhat.com/ecos/ecos-license +// at http://sources.redhat.com/ecos/ecos-license/ // ------------------------------------------- //####ECOSGPLCOPYRIGHTEND#### //========================================================================== @@ -467,8 +467,14 @@ private: public: // Add and remove destructors. Returns true on success, false on failure. - static cyg_bool add_destructor( destructor_fn fn, CYG_ADDRWORD data ); - static cyg_bool rem_destructor( destructor_fn fn, CYG_ADDRWORD data ); +#ifndef CYGSEM_KERNEL_THREADS_DESTRUCTORS_PER_THREAD + static +#endif + cyg_bool add_destructor( destructor_fn fn, CYG_ADDRWORD data ); +#ifndef CYGSEM_KERNEL_THREADS_DESTRUCTORS_PER_THREAD + static +#endif + cyg_bool rem_destructor( destructor_fn fn, CYG_ADDRWORD data ); #endif #ifdef CYGVAR_KERNEL_THREADS_NAME
