diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-08 00:16:44 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-08 00:16:44 +0000 |
commit | 2b05f68c8ceef93fea99d6eb440c0635a19605f6 (patch) | |
tree | 1312938a9bf295863248691d500c302657cb8501 /ace/config-all.h | |
parent | cb005c95c0eeaa92aac5c9be6e4f88decd0a8766 (diff) | |
download | ATCD-2b05f68c8ceef93fea99d6eb440c0635a19605f6.tar.gz |
ChangeLogTag:Thu Sep 7 16:15:24 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/config-all.h')
-rw-r--r-- | ace/config-all.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ace/config-all.h b/ace/config-all.h index f3ce51fdac6..89fc0c0a612 100644 --- a/ace/config-all.h +++ b/ace/config-all.h @@ -510,6 +510,8 @@ typedef void (*ACE_CLOSE_LOG_MSG_HOOK) (void); typedef void (*ACE_SYNC_LOG_MSG_HOOK) (const ACE_TCHAR *prog_name); +typedef ACE_OS_Thread_Descriptor *(*ACE_THR_DESC_LOG_MSG_HOOK) (void); + // ============================================================================ // Fundamental types // ============================================================================ @@ -528,6 +530,21 @@ typedef ACE_HANDLE ACE_SOCKET; #endif /* ACE_WIN32 */ +typedef void *(*ACE_THR_FUNC)(void *); + +extern "C" +{ +# if defined (VXWORKS) +typedef FUNCPTR ACE_THR_C_FUNC; // where typedef int (*FUNCPTR) (...) +# elif defined (ACE_PSOS) +// needed to handle task entry point type inconsistencies in pSOS+ +typedef void (*PSOS_TASK_ENTRY_POINT)(); +typedef void (*ACE_THR_C_FUNC)(void *); +# else +typedef void *(*ACE_THR_C_FUNC)(void *); +# endif /* VXWORKS */ +} + // ============================================================================ // Miscellaneous macros // ============================================================================ |