summaryrefslogtreecommitdiff
path: root/TAO/threadpool-changes
blob: a989a4f1f00e312b43d6f952b608024ca42ff7a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
Fri Aug 24 18:08:37 2001  Irfan Pyarali  <irfan@cs.wustl.edu>

	* tao/RTPortableServer/RT_POA.cpp: 

	  - (thread_pool): Added member and accessor.

          - (valid_priority): Renamed to validate_priority().  Instead
            of trying to match acceptor priority and bands, we check
            the following:

            If this POA is using a thread pool with lanes, make sure
            the priority matches one of the thread lanes.  Note that
            in this case, bands do not matter since matching the lanes
            priority is a stricter condition than meeting the band
            ranges.  In addition, when the POA was created, the bands
            had to match the lanes.

            If we are dealing with a thread pool without lanes, check
            if we have bands.  If we do have bands, make sure that the
            priority is matching one of the bands.

          - (endpoint_count): Counts the potentially relevant
            endpoints for this POA.

	  - (parse_rt_policies): Extract the POA's thread pool from
            the policies specified by the user.

          - (key_to_stub_i): Instead of trying to create different
            kinds of acceptor filters, we check the following:

            If this POA is using the default thread pool or a thread
            pool without lanes, create the IOR with the acceptors in
            the thread pool.

            If this POA has the SERVER_DECLARED policy, create the IOR
            with the acceptors in the only thread lane that matches
            the priority of the object.

            If this POA has the CLIENT_PROPAGATED policy, create the
            IOR with the acceptors in the thread lanes that matches
            the bands in this POA.  If there are no bands, all the
            thread lanes are used.

	* tao/RTPortableServer/RT_Policy_Validator.cpp: 

	  - (validate_impl): Removed call to ORB_Core::open(). Added
            thread-pool validation.

          - (legal_policy_impl): Added <THREADPOOL_POLICY_TYPE> to the
            legal policies.

          - (validate_server_protocol): Previously, if we found one
            protocol that matched, we returned success.  Now we return
            return success only if we match all the protocols
            specified by the user.

          - (merge_policies_impl): Merging of policies specified at
            the ORB level was not done before. Check if the user has
            specified the priority model, server protocol, and thread
            pool policies.  If not, check if the policy has been
            specified at the ORB level.  If so, we'll use that policy.

          - (validate_priorities): Revised this function to do the
            following tests:

	    Initialize <rt_priority_model> to NOT_SPECIFIED rather
	    than CLIENT_PROPAGATED.
	
            If priority model was not specified, then we better not
            have a thread pool with lanes since this configuration
            does not make sense.

            If priority banded connections are set, make sure that:

             0. A priority model was specified.

             1. There is at least one band.

             2a. low is not < RTCORBA::minPriority
             2b. low <= high
             2c. high is not > RTCORBA::maxPriority

             3. If priority model is SERVER_DECLARED, server_priority
                must match one of the bands.

             4. If this POA has a thread pool with lanes, then for
                each band, there must be at least one thread lane that
                can service it, i.e., whose priority falls into the
                band's range.

            If priority banded connections are not set, and the
            priority model is SERVER_DECLARED, make sure we have at
            least one thread lane that can provide service for the
            specified SERVER_DECLARED priority.

        * tao/RTPortableServer/RT_Acceptor_Filters.h
        
	  - (fill_mprofile): Renamed fill_mprofile() to fill_profile()
	    and added a <priority> paramter to this function.

          - (encode_endpoints): Also added a new function
	    encode_endpoints() that encodes the endpoints in the
	    profiles into the TAO_TAG_ENDPOINTS tag component of
	    profiles.

          - (TAO_Priority_Acceptor_Filter; TAO_Bands_Acceptor_Filter;
            validate_acceptor): Removed: POA decides with acceptor
            registries to include in the stub.  Therefore, these
            classes and functions are not longer required.

	* tao/RTPortableServer/RT_Servant_Dispatcher.cpp:

	  - (~RT_Priority_Model_Processing): Removed code duplication
            and called post_invoke() directly.

          - (pre_invoke): Changed the upcall thread preprocessing to
            do the following:

            Don't mess with the priority of threads in lanes.

            For the SERVER_DECLARED PriorityModel processing, use the
            request associated with the servant.
            
            Previously, for the CLIENT_PROPAGATED policy, if the
            server priority was <TAO_INVALID_PRIORITY>, then the
            client propagated priority was ignored.  This was fixed.

            Handle cases where the priority model policy was not
            specified.

            Distinguish between invalid target priorities and where
            the original == target.

	* tao/RTPortableServer/RT_POA_Initializer.cpp
	  (init_rt_default_policies): Removed: it was merging the ORB
	  level policies with the default POA policies at initialization
	  time.  It correct thing to do would be to merge the ORB level
	  policies with the user provided policies when a POA is being
	  created.
          
        * tao/RTPortableServer/RT_Object_Adapter_Factory.cpp (create):
          No need to setup the POA Extension Initializer.  Setup the
          servant dispatcher and the policy validator on the Object
          Adapter after creating it.

        * tao/RTPortableServer/RT_POA_Initializer.cpp:

          Renamed TAO_RT_POA_Initializer::init() to
          TAO_RTPortableServer_Initializer::TAO_RTPortableServer_Initializer().

        * tao/RTPortableServer/RT_POA.h:

          Include RTPortableServerC.h instead of RTPortableServer.h.

        * tao/RTPortableServer/Makefile:
        * tao/RTPortableServer/Makefile.bor:
        * tao/RTPortableServer/TAO_RTPortableServer.dsp:
        * tao/RTPortableServer/TAO_RTPortableServer_Static.dsp:

          Removed RT_POA_Initializer.

	* tao/RTCORBA/Thread_Pool.cpp:

          - (set_tss_resources): Each lane thread on startup sets its
            thread lane pointer in TSS.  This makes it easy to access
            each thread's lane resources and also makes it easy to
            identify which threads belong to thread pools and which
            don't.

          - (validate_and_map_priority): When a thread lane is opened,
            its lane priority is validated and mapped to native
            priority before the threads are spawned.

          - (open): Open the acceptor registry when a thread lane is
            opened.

          - (fini): Finalize resources.

          - (resources): Added TAO_Thread_Lane_Resources accessor.

          - (with_lanes): Since a thread-pool without lanes is
            implemented as a thread-pool with one lane, it is
            difficult to tell them apart. Added a <with_lanes_> flag
            to tell them apart.

	  - (constructors): Make sure <allow_request_buffering> and
	    <allow_borrowing> are disabled since we do not support
	    them.

          - (create_dynamic_threads): In addition to the default flags
            (THR_NEW_LWP and THR_JOINABLE), add in flags to set the
            scope and scheduling policies when creating RT threads.

          - (native_priority): Each lane remembers its native priority
            in addition to its CORBA priority.

	* tao/RTCORBA/RT_Protocols_Hooks.cpp
	  (set_default_server_protocol_policy): Don't include all the
	  protocols that the ORB knows about in the default server
	  protocol policy; only include protocols that the user has
	  opened.

	* tao/RTCORBA/RT_Protocols_Hooks.h: Removed
          ACE_STATIC_SVC_REQUIRE directive since it is not needed.

	* tao/RTCORBA/RT_ORB_Loader.cpp: 

	  - Changed base class from TAO_Object_Loader to
            ACE_Service_Object.

          - (create_object): Removed.
          
          - (Initializer): Removed.       

          - (init): Handle the scheduling policy variable in terms of
            THR_SCHED_* values instead of ACE_SCHED_* values since
            ACE_OS::thr_create expects THR_SCHED_* values.

            However, ACE_Sched_Params::priority_min() and
            ACE_Sched_Params::priority_max() expect ACE_SCHED_*
            values.  Therefore, a conversion from THR_SCHED_* values
            to ACE_SCHED_* values is done in
            TAO_RT_ORBInitializer::pre_init().

            Also, added the ability for the user to specify the
            scheduling scope of the RT threads through the new
            ORBScopePolicy option.  The option supports the PROCESS
            and SYSTEM scopes with PROCESS being the default.
  
	* tao/RTCORBA/RT_ORB.cpp:

	  - (TAO_RT_ORB): Cache the <tp_manager> from the
	    TAO_RT_Thread_Lane_Resources_Manager.

          - (pre_init): Register the
            RT_Thread_Lane_Resources_Manager_Factory with the service
            configurator.

         - (TAO_RT_CORBA_Priority_Normalizer): Removed since it was no
           longer needed.

	* tao/RTCORBA/RT_Mutex.cpp (try_lock): Make sure that
	  mutex::tryacquire() returning -1 with errno == EBUSY is not
	  flagged as an error.

        * tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp:

          - Added TAO_RT_Default_Endpoint_Selector.  Pretty much the
            same as TAO_Default_Endpoint_Selector except private
            connections are taken into account.

	* tao/RTCORBA/RT_Endpoint_Selector_Factory.cpp: 

	  - Replaced TAO_Default_Endpoint_Selector with
	    TAO_RT_Default_Endpoint_Selector so that we are sure to
	    take private connection into account.

        * tao/RTCORBA/Direct_Priority_Mapping.cpp:
        * tao/RTCORBA/Linear_Priority_Mapping.cpp:        
        
          - Removed special code in the constructors that was added to
            handle incorrect priorities reported by
            ACE_Sched_Params::priority_min() and
            ACE_Sched_Params::priority_max().  This code was not
            needed after Joe's fixes.

          - Changed <policy_> type from int to long.

	* tao/RTCORBA/RT_ORBInitializer.cpp (pre_init): Set the
          scheduling policy and scope policy into ORB Parameters.
          Also, converted THR_SCHED_* values into ACE_SCHED_* values.

	* tao/RTCORBA/RTCORBA.cpp:

	  - (init): Removed: functionality moved to the constructor.

	  - (TAO_RTCORBA_Initializer): Removed the registration of
	    TAO_RT_Protocols_Hooks into the service configurator - it
	    is already done in TAO_RT_ORBInitializer::pre_init.

        * tao/RTCORBA/RT_Current.h:
        * tao/RTCORBA/RT_Mutex.h:
        * tao/RTCORBA/RT_ORB.h:
        * tao/RTCORBA/RT_ORBInitializer.cpp:
        * tao/RTCORBA/RT_Policy_i.h:
        * tao/RTCORBA/Thread_Pool.h
        * tao/RTPortableServer/RTPortableServerC.h
        * tao/RTPortableServer/RT_Acceptor_Filters.h:
        * tao/RTPortableServer/RT_Servant_Dispatcher.h:

          Include RTCORBA.h instead of RTCORBAC.h.
        
	* tao/RTCORBA/Makefile.bor: 
	* tao/RTCORBA/Makefile: 
	* tao/RTCORBA/TAO_RTCORBA.dsp: 
	* tao/RTCORBA/TAO_RTCORBA_Static.dsp: 

	  Removed Pool_Per_Endpoint; added
	  RT_Thread_Lane_Resources_Manager.

	* tao/ORB_Core.cpp: 

          - (Reactor_Registry): Removed from the ORB Core.  Each
            thread lane how manages its own Leader/Follower object
            which has its own Reactor.

          - (Transport_Cache): Moved from the ORB Core to the thread
            lane.

          - (Acceptor_Registry): Moved from the ORB Core to the thread
            lane.

          - (Thread_Lane_Resources_Manager): The ORB Core now has a
            pointer to a Thread_Lane_Resources_Manager.  It'll either
            be the Default_Thread_Lane_Resources_Manager that manages
            the default thread lane, or it'll be the
            RT_Thread_Lane_Resources_Manager that manages the default
            thread lane and the RT thread lanes.
         
         - (Thread_Lane_Resources_Manager_Factory):
           Thread_Lane_Resources_Manager are created using this
           factory.  This factory is accessed through the Service
           Configurator.

         - (reactor_): Removed unused member.

         - (inherit_from_parent_thread): Removed dead code.

         - (create_stub): No need to pass ORB_Core::create_stub() a
	    pointer to the ORB_Core.

         - (create_stub_object): Simplified this function. MProfile
           creation is going to be done by the POA.

         - (is_collocated): This function now checks with the lane
           resources if the acceptor registry has been created.

         - (leader_follower, lf_strategy): Access the Leader/Followers
           and LF Strategy object from the thread lane resources
           rather than from the Reactor Registry.

         - (open): Removed: thread lanes resourced are opened when
           thread pools are created; thread lanes resourced are opened
           when the Root POA is created.

         - (shutdown): Added missing ACE_CHECKs.

         - (reactor): Removed acceptor based reactor selection.

         - (poa_extension_initializer): Removed since it was no longer
           needed.

         - (TAO_CORBA_Priority_Normalizer): Removed since it was no
           longer needed.

         - (resource_factory_from_service_config_,
            client_factory_from_service_config_, 
            server_factory_from_service_config_):

            Removed since it was no longer needed.

         - (resource_factory_, stub_factory_,
            endpoint_selector_factory_, protocols_hooks_,
            client_factory_, server_factory_):

            Simplified the creation of these factories.

         - (TAO_ORB_Core_TSS_Resources): Removed <transport_cache_>,
           <reactor_registry_>, and <reactor_registry_cookie_t>; added
           <lane_> from/to the per-ORB TSS resources.

	* tao/ORB.cpp (create_stub_object): Removed unused method.  In
	  addition, stub creation really belongs to the POA.

	* tao/param.cpp: Added the scheduling policy and scope policy
          for RTCORBA threads created by the ORB.

	* tao/Tagged_Profile.cpp (extract_object_key): 
	* tao/IIOP_Transport.cpp (set_bidir_context_info): 

	  Acceptor registry is now accessed through the lane resources
	  rather than through the ORB Core.

	* tao/Transport.cpp:
	* tao/Acceptor_Impl.cpp (make_svc_handler): 
	* tao/IIOP_Connector.cpp:
	* tao/IIOP_Connection_Handler.cpp (add_transport_to_cache):
	* tao/Strategies/SHMIOP_Connector.cpp:
	* tao/Strategies/SHMIOP_Connection_Handler.cpp (add_transport_to_cache):
	* tao/Strategies/DIOP_Connection_Handler.cpp (add_transport_to_cache):
	* tao/Strategies/UIOP_Connector.cpp:
	* tao/Strategies/UIOP_Connection_Handler.cpp (add_transport_to_cache):
        * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp:
        * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp (add_transport_to_cache):
        * orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connector.cpp (add_transport_to_cache):

	  Transport cache is now accessed through the lane resources
	  rather than through the ORB Core.

	* tao/Pluggable.cpp: 
	* tao/IIOP_Acceptor.cpp:
	* tao/Strategies/DIOP_Acceptor.cpp:
	* tao/Strategies/SHMIOP_Acceptor.cpp:
	* tao/Strategies/UIOP_Acceptor.cpp:
        * orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Acceptor.cpp:
        * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp:

          - Priority: Since endpoints are no longer associated with
            priorities, the priority is explicitly passed in from the
            thread lane when creating the shared profile.  If a
            "priority" option is specified by the user, it'll be
            flagged as an error.

 	  - (create_profile): Renamed create_mprofile() to
            create_profile() while adding a <priority> parameter and
            removing the <share_profile> parameter. Creation of a
            shared profile can be done if we have a valid <priority>.
            Otherwise, we create a new profile.

          - (create_new_profile): Renamed create_new_profiles() to
            create_new_profile() while adding a <priority> parameter.

          - (create_shared_profile): Added a <priority> parameter.

          - (open, open_i, open_default): Reactor is specified
            explicitly rather than coming implicitly from the ORB
            Core.

	* tao/Thread_Lane_Resources.cpp
	* tao/Thread_Lane_Resources.h
	* tao/Thread_Lane_Resources.i

          New class representing a thread lane's resources.  The class
          has the following resources:

          - Acceptor Registry
          - Transport Cache
          - Leader/Follower (and hence the Reactor also)

          These resources use to be in the ORB Core.  However, with
          the introduction of thread lanes, these resources were moved
          to this class.  These resources will be managed by two kinds
          of managers: (a) default (non-RT) manager which only has one
          set of lane resources and approximates these resources being
          in the ORB Core.  (b) RT manager which manages multiple set
          of resources associated with each thread lane and has a
          default set of lane resources.

	* tao/Thread_Lane_Resources_Manager.cpp
	* tao/Thread_Lane_Resources_Manager.h
	* tao/Thread_Lane_Resources_Manager.i

          Abstract manager and manager factory.

	* tao/Default_Thread_Lane_Resources_Manager.cpp
	* tao/Default_Thread_Lane_Resources_Manager.h
	* tao/Default_Thread_Lane_Resources_Manager.i

          Default (non-RT) manager which only has one set of lane
          resources and approximates these resources being in the ORB
          Core.

	* tao/RTCORBA/RT_Thread_Lane_Resources_Manager.cpp
	* tao/RTCORBA/RT_Thread_Lane_Resources_Manager.h
	* tao/RTCORBA/RT_Thread_Lane_Resources_Manager.i

          RT manager which manages multiple set of resources
          associated with each thread lane and has a default set of
          lane resources.

	* tao/Endpoint.h (TAO_Endpoint): Changed default <priority> value
	  in constructor to <TAO_INVALID_PRIORITY> instead of -1.

	* tao/Protocols_Hooks.cpp:
	* tao/Default_Protocols_Hooks.cpp:

	  - (set_default_server_protocol_policy): Added no-op new
	    method.  It'll be useful with RTCORBA.

	* tao/Acceptor_Registry.cpp: 

	  - (open, open_default, open_i): The reactor is explicitly
	    passed to these methods instead of getting it from the ORB
	    Core.

          - (make_mprofile): This function was removed because it was
	    doing too much, i.e., calling fill_mprofile() which was
	    creating and encoding the mprofile.  Since the POA has to
	    now deal with multiple acceptor registries, this
	    functionality was moved to the POA.

	* tao/Default_Acceptor_Filter.h: 
	* tao/Acceptor_Filter.h: 

          - (fill_mprofile): Renamed fill_mprofile() to fill_profile()
	    and added a <priority> paramter to this function.  

          - (encode_endpoints): Also added a new function
	    encode_endpoints() that encodes the endpoints in the
	    profiles into the TAO_TAG_ENDPOINTS tag component of
	    profiles.

	* tao/Transport_Cache_Manager.cpp (open): Removed.

	* tao/TAO_Internal.cpp (open_services_i): Insert the
	  Default_Thread_Lane_Resources_Manager_Factory into the service
	  configurator.  Also, cast RT_ORB_Loader to ACE_Service_Object
	  instead of TAO_Object_Loader.

	* tao/default_resource.cpp:
	* tao/Resource_Factory.cpp:
	* tao/Strategies/advanced_resource.cpp: 

	  - (reactor_registry): Removed since it was no longer needed.

	  - (ORBReactorRegistry): Report error since this option is no
	    longer supported.

        * tao/ORB.cpp (url_ior_string_to_object):
	* tao/CORBALOC_Parser.cpp (make_stub_from_mprofile): 
	* tao/Stub.cpp (set_policy_overrides): 
	* tao/Object.cpp (operator>>): 

	  No need to pass ORB_Core::create_stub() a pointer to the
	  ORB_Core.

        * tao/TAO.dsp: 
        * tao/TAO_Static.dsp: 

	  - Removed these files:

	    Reactor_Registry
	    Single_Reactor
            POA_Extension_Initializer
	    TimeBaseS
	    CONV_FRAMES
	    Connector_Impl
	    TAO_Singleton
	
	  - Added these files:

	    Default_Thread_Lane_Resources_Manager
	    Thread_Lane_Resources
	    Thread_Lane_Resources_Manager.cpp
	
	* tao/Makefile: 
	* tao/Makefile.bor: 
	* tao/Makefile.am: 

	  - Added new files:
	   
	    Thread_Lane_Resources 
	    Thread_Lane_Resources_Manager 
	    Default_Thread_Lane_Resources_Manager

	  - Removed these files:

	    Reactor_Registry
	    Single_Reactor
            POA_Extension_Initializer

	  - Removed the following *S_T.* files.  Since the *S.* are
	    not needed, these will also not be needed:

	    CONV_FRAMES_T 
	    GIOPS_T 
	    IOPS_T 
	    PollableS_T 
	    TAOS_T 
	    TimeBaseS_T

	* tao/PortableServer/POA.cpp: 

          - (create_POA_i): Before a POA is created (including the
            RootPOA), any relevant policies at the ORB level should be
            merged with the policies passed to create_POA() by the
            user.

          - (servant_to_id_i, servant_to_reference): Use the
            <server_priority> from the priority model policy rather
            than <TAO_INVALID_PRIORITY> for servants that are not
            registered with explicit priorities.

          - (create_stub_object): The POA is now responsible for
            selecting which profiles to create the stub with.  This
            change is more relevant for the RT POA.

          - (thread_pool): No-op accessor added.  This change is more
            relevant for the RT POA.

	* tao/PortableServer/Object_Adapter.cpp (open): 

	  - Make sure that the default resources are open when the
	    RootPOA is created.

	  - Make sure that the correct default Server Protocol Policy
	    is set after we open the default resources.  Previously
	    all the protocols supported were included in the default
	    Server Protocol Policy.  This should be restricted to only
	    the protocols opened by default (such as IIOP) and any
	    other asked for by the user (such as SHMIOP).

          - Before a POA is created (including the RootPOA), any
            relevant policies at the ORB level should be merged with
            the policies passed to create_POA() by the user.
            
          - No need to access the POA Initializer.
            TAO_RT_Object_Adapter_Factory will set things up for us.

	* tao/PortableServer/POA_Cached_Policies.cpp
	  (TAO_POA_Cached_Policies): Changed the default value of
	  <priority_model_> from
	  TAO_POA_Cached_Policies::CLIENT_PROPAGATED to
	  TAO_POA_Cached_Policies::NOT_SPECIFIED.

	* tao/PortableServer/Default_Policy_Validator.cpp: 
	  
	  - (merge_policies_impl): No-op method was added.

	  - (Default_Policy_Validator): Pass-through-to-base-class
	    constructor was added.

	* tao/PortableServer/Default_Acceptor_Filter.cpp:

	  - (fill_mprofile): Got renamed to fill_profile().

          - (encode_endpoints): No-op method was added.

	* tao/PortableServer/Policy_Validator.cpp (merge_policies): Merge
	  any relevant policies at the ORB level into the current set.

	* tao/PortableServer/POA_Policy_Set.i (policies): Added accessor
	  to underlying TAO_Policy_Set implementation.

	* tao/Strategies/Makefile.bor: 
	* tao/Strategies/Makefile: 
	* tao/Strategies/TAO_Strategies.dsp:
	* tao/Strategies/TAO_Strategies_Static.dsp:

	  Removed Reactor_Per_Priority.
	
	* tests/RTCORBA/Policy_Combinations: New test added that
          combines and tests several RT policies in different ways.

          - The IDL interface has two methods: method() and
            prioritized_method(). 

          - The client sets its thread to the default priority, calls
            method() which returns a priority.  If the priority
            returned is different from <TAO_INVALID_PRIORITY>, the
            client sets its thread to the priority returned by the
            server and calls prioritized_method()

          - The servant returns the <client_priority_> member in
            method().  In prioritized_method(), it makes sure that the
            thread running the upcall is at priority
            <server_priority_>.  These two members allow several
            different policies to be tested with the same code.

          - In addition to testing servants in the RootPOA and in a
            simple child POA, the following policy combinations are
            tested in this example:
            ________________________________________

            Thread-pool    BANDS   PRIORITY MODEL
            ________________________________________

            Default Pool     NO   CLIENT_PROPAGATED
            Default Pool     NO   SERVER_DECLARED
            Without Lanes    NO   CLIENT_PROPAGATED
            Without Lanes    NO   SERVER_DECLARED
            With Lanes       NO   CLIENT_PROPAGATED
            With Lanes       NO   SERVER_DECLARED
            Default Pool    YES   CLIENT_PROPAGATED
            Default Pool    YES   SERVER_DECLARED
            Without Lanes   YES   CLIENT_PROPAGATED
            Without Lanes   YES   SERVER_DECLARED
            With Lanes      YES   CLIENT_PROPAGATED
            With Lanes      YES   SERVER_DECLARED

	* tests/RTCORBA/Linear_Priority: This is a test for the Linear
          Priority mapping in TAO.  In addition, this test combines
          and tests several RT policies in different ways.  This test
          can also be used for testing the different scheduling
          policies (e.g., FIFO, RR, OTHER) by using the ORBSchedPolicy
          and ORBScopePolicy options in svc.conf file.

          - The server can be setup to use bands or no bands and
            thread lanes or no lanes.

          - The client can be setup to use bands or no bands and
            different invocation priorities.  It creates a thread for
            each invocation priority and issues multiple requests to
            the server from each thread.

          - The following policy combinations are tested in this
            example:
            __________________________________________________

            Server-side   Thread   Client-side  Multi-priority
               Bands       Lanes      Bands        Clients
            __________________________________________________

                NO          NO          NO           NO
                YES         NO          NO           NO
                NO          YES         NO           NO
                YES         YES         NO           NO
                NO          NO          YES          NO
                NO          YES         YES          NO
                NO          NO          NO           YES
                YES         NO          NO           YES
                YES         YES         NO           YES      
                NO          NO          YES          YES
                NO          YES         YES          YES

	* tests/RTCORBA/Thread_Pool:

          - server.cpp: Associated the thread pools with POAs.
            Produced three servants, one that uses the default thread
            pool, the second uses an RT thread pool without lanes, and
            the third that uses an RT thread pool with lanes. Also
            added the use of CLIENT_PROPAGATED priority model.

	  - client.cpp: Changed the default ior file from <ior> to
	    <ior_1>.

	  - run_test.pl: Spawn multiple clients for each servant.  The
            servants with multiple threads in their thread-pool
            respond faster than the servants with a single thread
            thread-pool.

          - test_i.cpp (method): Added debugging output to see which
            lane/pool/thread is being used to run the upcall.

	  - README: Updated to reflect changes in the test.

	* tests/RTCORBA/Banded_Connections:

	  - server.cpp: 

            - We cache the RT_Current in the constructor instead of
	      having to look it up on every call.

            - Simplified some of the options and some parts of the code.

	    - The POA priority is now deduced from the lane
	      priorities.  Lane priorities are not deduced from the
	      bands.

	    - The old Reactor-per-Priority scheme was replaced by RT
	      Thread-Pools.

            - Removed dependency on advance resources in the
              strategies library.

            - Added check to make sure multiple priorities are
              supported.

	  - client.cpp: 

            - Simplified some of the options and some parts of the
	      code.

            - Client thread priorities are now deduced from the bands.

            - Added check to make sure multiple priorities are
              supported.

	  - test.idl (Test): test_method() now passes an additional
	    boolean parameter <client_propagated> to indicate what
	    kind of invocation it thinks it is making.  This is a
	    useful sanity check.

          - server.conf: The service configurator directives in this
	    file were no longer needed; therefore this file was
	    removed.

	  - run_test.pl: Removed specification of endpoint priorities
	    since they are no longer needed or supported.  Also
	    simplified some of the other options used in this test.

	  - client.dsp: 
	  - server.dsp: 
	    
            Removed the static build configurations.

	  - README: Updated to reflect changes in the test.

	* tests/RTCORBA/Server_Declared: 

          - server.cpp: 

            - The old Reactor-per-Priority scheme was replaced by a
              simple ORB::run().

            - Exception test for an invalid servant priority was
              removed since there is already a test that does this.

            - Added check to make sure multiple priorities are
              supported.

            - Removed dependency on advance resources in the
              strategies library.

	  - client.cpp: Added check to make sure multiple priorities
            are supported.

	  - run_test.pl: Removed specification of endpoint priorities
	    since they are no longer needed or supported.  Also
	    simplified some of the other options used in this test.

          - server.conf: The service configurator directives in this
	    file were no longer needed; therefore this file was
	    removed.

	  - README: Updated to reflect changes in the test.

	* tests/RTCORBA/MT_Client_Protocol_Priority

          - server.cpp: 

            - The old Reactor-per-Priority scheme was replaced by RT
	      Thread-Pools.

            - Added check to make sure multiple priorities are
              supported.

	  - client.cpp: 

            - Added check to make sure multiple priorities are
              supported.

            - Removed dependency on advance resources in the
              strategies library.

	  - run_test.pl: Removed specification of endpoint priorities
	    since they are no longer needed or supported.

          - server.conf: Removed some of the service configurator
	    directives in this file that were no longer needed.

	  - README: Updated to reflect changes in the test.

	* tests/RTCORBA/check_supported_priorities.cpp: Common check
	  used by several RT tests to make sure multiple priorities
	  are supported.

	* tests/RTCORBA/RTCORBA_tests.dsw: 
	* tests/RTCORBA/Makefile: 
	* tests/RTCORBA/Makefile.bor: 

	  Added new tests ORB_init, Policy_Combinations, and
	  Linear_Priority.

        * tests/RTCORBA/Banded_Connections/Makefile:
        * tests/RTCORBA/Banded_Connections/client.bor:
        * tests/RTCORBA/Banded_Connections/client.dsp:
        * tests/RTCORBA/Banded_Connections/server.bor:
        * tests/RTCORBA/Banded_Connections/server.dsp:
        * tests/RTCORBA/Client_Propagated/Makefile:
        * tests/RTCORBA/Client_Propagated/client.bor:
        * tests/RTCORBA/Client_Propagated/client.dsp:
        * tests/RTCORBA/Client_Propagated/server.bor:
        * tests/RTCORBA/Client_Propagated/server.dsp:
        * tests/RTCORBA/Linear_Priority/client.dsp:
        * tests/RTCORBA/Linear_Priority/server.dsp:
        * tests/RTCORBA/Policy_Combinations/client.dsp:
        * tests/RTCORBA/Policy_Combinations/server.dsp:
        * tests/RTCORBA/Private_Connection/client.dsp:
        * tests/RTCORBA/Private_Connection/server.dsp:
        * tests/RTCORBA/Client_Propagated/Makefile:
        * tests/RTCORBA/Client_Propagated/client.bor:
        * tests/RTCORBA/Client_Propagated/client.dsp:
        * tests/RTCORBA/Client_Propagated/server.bor:
        * tests/RTCORBA/Client_Propagated/server.dsp:

          Removed Strategies library since it is not needed.

        * tests/RTCORBA/Client_Protocol/client.bor:
        * tests/RTCORBA/Client_Protocol/client.dsp:
        * tests/RTCORBA/Explicit_Binding/client.bor:
        * tests/RTCORBA/Explicit_Binding/client.dsp:
        * tests/RTCORBA/MT_Client_Protocol_Priority/client.bor:
        * tests/RTCORBA/MT_Client_Protocol_Priority/client.dsp:
        * tests/RTCORBA/Private_Connection/client.bor:
        * tests/RTCORBA/RTMutex/server.dsp:
        * tests/RTCORBA/Server_Protocol/client.bor:
        * tests/RTCORBA/Server_Protocol/client.dsp:

          Removed PortableServer and RTPortableServer libraries since
          they are not needed.

	* docs/rtcorba/features.html:
	* docs/rtcorba/status.html:
	* docs/rtcorba/issues.html:

          Updated RTCORBA documentation to reflect new thread-pool
          support.

        * docs/Options.html: Added documentation for new
          -ORBScopePolicy option.

        * ACE_ROOT/ace/OS.h: THR_SCOPE_PROCESS and THR_SCOPE_SYSTEM
          were not defined for NT.  Added them.

        * ACE_ROOT/bin/auto_run_tests.lst: Added new RTCORBA tests.
          Removed Minimum CORBA dependency on these tests.