diff options
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
-rw-r--r-- | ACE/ace/OS_NS_Thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp index eb5087bb8ee..f550c5fd7e6 100644 --- a/ACE/ace/OS_NS_Thread.cpp +++ b/ACE/ace/OS_NS_Thread.cpp @@ -5045,6 +5045,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL #if defined (ACE_VXWORKS) && !defined (__RTP__) # include /**/ <usrLib.h> /* for ::sp() */ # include /**/ <sysLib.h> /* for ::sysClkRateGet() */ +# include "ace/Service_Config.h" // This global function can be used from the VxWorks shell to pass // arguments to a C main () function. @@ -5285,6 +5286,7 @@ static int _vx_call_rc = 0; static int _vx_call_entry(FUNCPTR entry, int argc, char* argv[]) { + ACE_Service_Config::current (ACE_Service_Config::global()); _vx_call_rc = entry (argc, argv); return _vx_call_rc; } |