diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-12-18 16:23:41 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-12-18 16:23:41 +0000 |
commit | 6dd8b17b0380e0d78cf57c9700ad5d8b6435d746 (patch) | |
tree | 8f25854b08fa19d9c7ec9eef1bb58e3c87719303 | |
parent | 3488908cd3e0feb0ef028b6315c9655576df3450 (diff) | |
download | ATCD-6dd8b17b0380e0d78cf57c9700ad5d8b6435d746.tar.gz |
ChangeLogTag:Wed Dec 18 08:22:39 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Random.cpp | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 7b7517030be..cb8284c30a4 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Wed Dec 18 08:22:39 2002 Ossama Othman <ossama@uci.edu> + + * orbsvcs/orbsvcs/LoadBalancing/LB_Random.cpp + (tao_lb_random_init_routine): + + Fixed compile-time problem on platforms that do not support for + the Pthread standard. This function should always be visible. + Tue Dec 17 09:53:02 2002 Chris Cleeland <cleeland_c@ociweb.com> * tao/Transport_Cache_Manager.*: diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Random.cpp b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Random.cpp index 45f1ac30564..a2f002ee30e 100644 --- a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Random.cpp +++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Random.cpp @@ -10,12 +10,12 @@ ACE_RCSID (LoadBalancing, #ifdef ACE_HAS_PTHREADS_STD static pthread_once_t tao_lb_once_control = PTHREAD_ONCE_INIT; +#endif /* ACE_HAS_PTHREADS_STD */ extern "C" void tao_lb_random_init_routine (void) { ACE_OS::srand (ACE_static_cast (unsigned int, ACE_OS::time ())); } -#endif /* ACE_HAS_PTHREADS_STD */ TAO_LB_Random::TAO_LB_Random (PortableServer::POA_ptr poa) |