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
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
|
Thu Sep 11 21:07:25 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Service_Object.h: Moved the ACE_Service_Type class into the
Service_Object.h file since this is "publically" visible to
applications.
* ace/Service_Types.h: Improved the documentation of the
ACE_Service_Type subclass implementations.
* ace/Service_Types: Changed the name next_ to link_ to be
consistent with the accessor name.
* ace: Renamed Service_Record.{h,i,cpp} to Service_Types.{h,i,cpp}
to reflect the recent change in names.
* ace/Service_Object.h: Renamed ACE_Service_Type to
ACE_Service_Type_Impl and ACE_Service_Record to ACE_Service_Type
in order to emphasize the use of the Bridge pattern. Thanks to
Eric Newton for motivating this.
* ace/Svc_Conf.y: Removed the warning about Service name being
different from Module name. I'm not sure why this was
complaining in the first place. Thanks to Eric Newton for
pointing this out.
Thu Sep 11 10:59:12 1997 <nw1@CHA-CHA>
* ace/Connector.cpp (handle_output): Increased the idle time
before we check the status of a non-blocking connection from 1
ms to 35 ms when ACE_HAS_BROKEN_NON_BLOCKING_CONNECTS is
defined (i.e., Win32.) This is very odd but wait a whole lot
longer seems to solve the problem.
* ace/Log_Msg.cpp (close): On Win32, ACE_Log_Msg_Manager needs to
delete main thread's ACE_Log_Msg instance also.
Thu Sep 11 10:37:00 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
* ace/ACE.cpp:
* ace/INET_Addr.cpp:
* ace/Log_Msg.h:
* ace/Memory_Pool.h:
* ace/OS.h:
* ace/OS.i:
* ace/Parse_Node.cpp:
* ace/Strategies_T.h:
* bin/clone.cpp:
* netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h:
I checked the use of MAXNAMELEN vs. MAXPATHLEN; all buffers
intended to keep full filenames should have at least
MAXPATHLEN+1 chars.
Only buffers that will keep basenames (without any directories)
should have MAXNAMELEN+1 bytes.
I also added a new macro ACE_MAX_FULLY_QUALIFIED_NAME_LEN which
is the maximum number of characters for a fully qualified
internet hostname.
There remain one obscure usage of these macros in ace/Malloc.h
and Local_Naming_Space_T.{h,cpp}, but a quick fix broke
something, I will try again soon.
Thu Sep 11 08:52:36 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (thr_key_detach): check to see if the
ACE_TSS_Cleanup lock has been constructed, and not
destructed, before attempting to use it. Statics are evil.
* ace/Log_Msg.cpp (~ACE_Log_Msg): release guard before calling
ACE_Log_Msg_Manager::close (), because that deletes the lock.
* ace/Managed_Object.{h,cpp} (get_object): changed type of "id"
to int because it will often be passed an enum. Pass "id" by
value to get_object (int id), for preallocated objects.
* ace/Object_Manager.{h,cpp}: added ACE_LOG_MSG_INSTANCE_LOCK,
and ACE_PREALLOCATE_OBJECT macro.
* include/makeinclude/wrapper_macros.GNU: ignore shared_libs_only
in modules that only build a static lib. Fixed shared_libs_only
by removing OBJDIRS, unless BIN is undefined, and VDIR. Removed
SHOBJ from both shared_libs_only and static_libs_only because
they're unused.
* include/makeinclude/rules.local.GNU: added lib*.*_pure* to
clean.local target, to remove Purified libraries.
* examples/Connection/non_blocking/Makefile,
examples/Service_Configurator/IPC-tests/server/Makefile:
removed -L./ from LDFLAGS because it's redundant:
wrapper_macros.GNU adds it.
Thu Sep 11 00:24:04 1997 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* netsvcs/lib/README: The entry point for the time service client
is _make_ACE_TS_Clerk_Processor and not
_make_ACE_TS_Clerk_Connector. Thanks to Ivan for pointing this
out.
Wed Sep 10 22:58:10 1997 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Thread_Manager.cpp (exit): Reordered the code so that it
will keep the lock held long enough to copy out the thread exit
hook but will release the lock before calling this hook.
Wed Sep 10 11:04:08 1997 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5-g++.h: added
ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS.
* include/makeinclude/wrapper_macros.GNU: added PIC= with
static_libs_only, and added list of supported make flags.
* include/makeinclude/wrapper_macros.GNU: added support for
debug=0, etc. Also, made debug, optimize, and profile
flags independent instead of exclusive. Thanks to Per
Andersson for suggesting this.
* include/makeinclude/platform_*.GNU: replaced "CFLAGS +=
$(DCFLAGS) with debug=1 so that debugging can easily be
disabled. Thanks to Per Andersson and James CE Johnson
for noticing this deficiency.
* include/makeinclude/platform_vxworks5.x_g++.GNU: removed
"-I. -I$(ACE_ROOT)" from CFLAGS because it duplicates the
INCLDIRS set in wrapper_root.GNU.
Wed Sep 10 10:35:06 1997 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.3.5, released Wed Sep 10 10:35:06 1997.
Wed Sep 10 10:25:41 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Thread_Manager.cpp (exit): copy the thread exit hook before
releasing the guard, and call it after releasing the guard.
* examples/Shared_Malloc/test_malloc.cpp (spawn): added (char *)
cast of slave_name () to avoid compilation warnings on Solaris.
Wed Sep 10 00:43:04 1997 Nanbor Wang <nw1@dingo.wolfpack.cs.wustl.edu>
* ace/Makefile: Added Managed_Object to template sources.
* ace/Object_Manager.{h,cpp}: * ace/Managed_Object.{h,cpp}:
Separate ACE_Managed_Object to a new set of file.
Tue Sep 9 23:41:56 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Reactors_Test.cpp (main): Check to see if wait() returns
-1 and then test to see what's gone wrong!
* ace/OS.h: Added a "fake" #define for SIGALRM so that programs
will *compile* on platforms like Chorus. Thanks to Wei Chiang
for reporting this.
* examples/Shared_Malloc/test_malloc.cpp (spawn): HP/UX doesn't
seem to like const char *const argv[] being given an initializer
list. I've fixed this to be just plain ol' char *argv[].
Thanks to Sandro Doro for reporting this.
* ace/Handle_Set.i (clr_bit): Replaced SOCKET with ACE_SOCKET so
this will compile on UNIX.
Tue Sep 09 17:16:21 1997 <irfan@TWOSTEP>
* ace/Proactor: Updated Proactor to bring it upto date with the
recent changes to the Timer_Queue.
* ace/Handle_Set.i (clr_bit and set_bit): These methods now change
the size_ member of the class on Win32. This is necessary since
the ACE_Handle_Set::operator fd_set *() accessor has been
optimized for size_ == 0.
Tue Sep 09 09:14:07 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (cleanup_tss): On WIN32 and with ACE_HAS_TSS_EMULATION,
delete the ACE_TSS_Cleanup instance instead of registering it for
cleanup via the ACE_Object_Manager's at_exit (). This should allow
applications to use ACE_Log_Msg in their at_exit () hooks. Thanks
to Wei Chiang <chiang@tele.nokia.fi> for reporting this problem.
* ace/Object_Manager.{h,cpp}: added guard of internal structures.
(dtor): call at_exit hooks before calling cleanup_tss, now that
the ACE_TSS_Cleanup instance is no longer registered for an at_exit
call. (at_exit): set errno instead of returning different values
on error. Added ACE_Managed_Object template class, intended for
use in replacing static instances.
* ace/Thread_Manager.cpp (exit): release guard before running the
thread exit hooks. This should help avoid deadlocks, in case
one of those hooks needs to operate on the Thread_Manager.
* ace/CORBA_Handler.{h,cpp},Dump.{h,cpp},Object_Manager.{h,cpp}:
preallocate locks for CORBA_Handler and Dump in ACE_Object_Manager.
Statics are evil.
* ace/Synch.{h,cpp},OS.cpp,Object_Manager.{h,cpp}: removed
ACE_TSS_Cleanup_Lock and replaced it with a preallocated mutex
in OS.cpp. Thanks to Nanbor for reporting problems at shutdown
with the old ACE_TSS_Cleanup_Lock static instance.
* include/makeinclude/platform_sunos5_sunc++.GNU: when building
libraries only, don't use CC to create individual .shobj/*.so
files. The .so files are not needed to build libraries, because
libraries are built with -G. (They are needed to avoid upsetting
the ACE make rules, so they're created as links to their
corresponding .o files.) The .so files are still needed when
building executables in order to get all template instantiations.
* include/makeinclude/platform_sunos5_g++.GNU: removed unused
SOLINK definitions.
Mon Sep 8 18:38:22 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Handle_Set_Test.cpp: It is possible for the order to get
the handles (using the iterator) will not agree with insert
order in ACE_Unbounded_Queue. It's best to use
ACE_Unbounded_Set. Thanks to Arturo for this fix.
Mon Sep 8 17:43:43 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Timer_{List,Wheel,Hash,Heap}_T.cpp: The iter() method now
returns a pointer to an iterator that is in a reset state
instead of an unknown one.
Mon Sep 8 14:05:15 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/ACE.cpp (read_adapter): Removed ACE_Thread_Control object in
this function. This is now taken care of by ACE_Thread_Manager.
(register_stdin_handler): This function no longer uses
ACE_Stdin_Args to pass in thread manager into read_adapter.
* ace/ACE.h (ACE): Removed class ACE_Stdin_Args, because it is no
longer needed.
Mon Sep 08 11:49:02 1997 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.sh: moved log file checks out to separate file,
run_tests.check.
* tests/run_tests.vxworks: added one-button test for VxWorks.
Check it out, Darrell.
* ace/Filecache.cpp: commented out unused constants [RW]COPY_FLAGS.
Mon Sep 08 08:26:52 1997 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.3.4, released Mon Sep 08 08:26:52 1997.
Sat Sep 6 10:41:17 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
* ace/Malloc.h:
sizeof() must be casted to int in ACE_CONTROL_BLOCK_ALIGN_LONGS
otherwise unsigned int arithmetic is used, thus obtaining
unexpected results.
Sat Sep 06 09:07:02 1997 David L. Levine <levine@cs.wustl.edu>
* OS.{h,cpp}: added ACE_Cleanup base class and
ace_cleanup_destroyer adapter.
* Object_Manager.*: added at_exit () interface for ACE_Cleanup objects.
* Singleton.{h,cpp},Token_Invariants.{h,cpp},Token_Manager.{h,cpp}:
base on ACE_Cleanup, so that simpler ACE_Object_Manager::at_exit ()
can be used.
* performance-tests/Misc/Makefile: moved $(BIN) files from FILES
to SRC so that they don't get put into libPerf.
Sat Sep 6 02:36:31 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tests/test_config.h (set_output): Added openning flag ios::trunc
explicitly if we are not appending to the opening ofstream.
This is required by standard CPP iostream libraries on NT (i.e.,
we can't use ios::out alone when ofstream.open a file.)
Sat Sep 6 00:21:33 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch_T.h: Added new constructors:
ACE_Guard(ACE_LOCK& l) : lock_(&l)
{ this->owner_ = this->acquire(); }
ACE_Read_Guard(ACE_LOCK& m) : ACE_Guard(&m)
{ this->owner_ = this->acquire_read(); }
ACE_Write_Guard(ACE_LOCK& m) : ACE_Guard(&m)
{ this->owner_ = this->acquire_write(); }
Remove default argument to current Guard classes.
ACE_Guard(ACE_LOCK&l, int block)
ACE_Read_Guard(ACE_LOCK& m, int block)
ACE_Write_Guard(ACE_LOCK&m, int block)
with the current semantic.
This change allows OS platforms with
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION or ACE_HAS ??? PRAGMA
???, to> invoke common case constructor in a more efficient
way. Thanks to Arturo for this.
* ace/Synch_T.h: ACE_Guard's destructor should be:
~ACE_Guard() { this->release(); }
and not
~ACE_Guard() { if (this->owner_ != -1) this->release(); }
because ACE_Guard::release has this test. Thanks to Arturo for
reporting this.
* ace/ARGV.cpp: Declared the char* parameters for the ACE_ARGV
class constructors as const. Since they are copied in the
constructors, this is a safe thing to do. This makes it easier
to pass the result of string::c_str() to it. Thanks to Stephen
Coy <stevec@magna.com.au> for this suggestion.
* ace/Thread_Manager.cpp: We were missing a Guard in the
ACE_Thread_Manager::at_exit() method.
* ace/config-sunos5.5-sunc++-4.x.h: It appears that we need to set
ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS for Solaris 2.5 since otherwise
wierd things happen randomly. This is based on the following man
page entry for pthread_exit():
Do not call pthread_exit() from a cancellation cleanup handler
or destructor function that will be invoked as a result of
either an implicit or explicit call to pthread_exit().
* ace/Thread_Manager.cpp (run_thread_exit_hooks): Once the cleanup
hook(s) are called we set the value of the cleanup hook variable
to 0 to avoid false matches later on.
Fri Sep 5 21:57:44 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Containers.i (is_empty):
* ace/Malloc.cpp (instance): Commented out ACE_TRACE in these
routines. They were causing recursive call if we used TRACE.
Thanks to Craig Perras <craig.perras@CyberSafe.COM> for solving
this.
* ace/Handle_Set.i (fd_set *): Added conditional compilation code
for Win32 platforms. This is because we don't maintain <size_>
on Win32 and, therefore, can't depend on it.
Fri Sep 5 19:05:02 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tests/Thread_Manager_Test.cpp (main): moved delete
signal_catcher into the ACE_HAS_THREADS part of the main()
function.
* ace/Reactor.cpp (check_handles): When handle_error was optimized
with fstat we put NULL value to second argument. It requires a
value to SCO OpenServer to work. Therefore, I added struct stat
temp and changed ACE_OS::fstat(handle, NULL) by
ACE_OS::fstat(handle, &temp); Thanks to Arturo for fixing this.
* examples/Threads/process_manager.cpp (sig_handler): Fixed a bug
where the thread was exiting if no more children existed.
Thanks to Avraham Nash <ANash@Engagetech.com> for reporting
this.
* ace/Handle_Set: Added the following performance enhancements:
. Assignment operator to optimize size == 0.
. min_handle to manage the case when the Handle_Set start in
handle different of zero.
. A new iterator algorithm tuned for select function calls.
Thank to Arturo for these enhancements.
* ace/config-aix-4.1.x.h: Added ACE_LACKS_TIMESPEC_T. Thanks to
Rob Head (rhead@virtc.com) for reporting this.
* ace/OS.cpp (fork_exec): Changed the logic so that we don't
create a new console window on Win32. This isn't done on UNIX,
so there's no point in doing it here. Thanks to Jeff Richard
<jrichard@OhioEE.com> for pointing this out.
* ace/Reactor.cpp: The call to
ACE_Reactor_Handler_Repository::open() in the constructor of
ACE_Reactor should check for == -1! Thanks to Brian Mendel for
reporting this.
* ace/Reactor.cpp (remove_handler): Fixed a braino where the
conditional compile for NSIG should have been > 0 rather than ==
0. Thanks to fixing this codeKaren Amestoy
<kamestoy@CCGATE.HAC.COM> for reporting this fix.
Fri Sep 05 16:17:50 1997 David L. Levine <levine@cs.wustl.edu>
* performance-tests/Misc/preempt.cpp: added command line options,
and explanation on how to interpret the results.
Thu Sep 04 10:26:11 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp: (tss_open): removed paren from around type in "new"
statement, because GHS (and ANSI C++) compilers will choke on it.
Thanks to Brian Mendel <brian.r.mendel@boeing.com> for reporting
this.
* ace/Thread_Manager.cpp: (ACE_Thread_Descriptor ctor): zero out
cleanup_hook_ in cleanup_info_ because we read it later on.
(dump): added guard because thr_table_ is accessed. (wait):
hacked in thr_yield () to give waited threads a chance to clean
up before continuing.
* ace/OS.h (ACE_Cleanup_Info): added default ctor.
* ace/Log_Msg.cpp (close): delete main thread's Log_Msg instance,
on Solaris if ACE_HAS_EXCEPTIONS is not defined, because main
thread TSS dtors apparently don't get called.
* ace/Token_Manager.{h,cpp}: register ACE_Token_Manager singleton
for deletion with ACE_Object_Manager.
* ace/Token_Invariants.{h,cpp}: register ACE_Token_Invariant_Manager
singleton for deletion with ACE_Object_Manager.
* ace/Naming_Context.cpp (close) moved deletion of "name_options_"
from dtor to close (), because when Service_Repository is closed,
it calls close () instead of deleting the service.
* ace/Process_Strategy.cpp (handle_signal): suppress printouts during
shutdown, to prevent using ACE_Log_Msg while it's being deleted.
* ace/Timer_List.cpp: replace ACE_Recursive_Thread_Mutex with
ACE_SYNCH_RECURSIVE_MUTEX, for non-threaded platforms.
* tests/Reactors_Test (~Test_Task): moved ASSERT after the printout,
so we can see why it failed. (svc): added printout with thread ID.
(main): deleted reactor at end of test to prevent leak.
* tests/SPIPE_Test (client): increased sleep time to 10 sec,
because a long delay is needed with Purify.
* tests/UPIPE_Test (connector): added 5 second sleep to give
acceptor a chance to start up.
* include/makeinclude/wrapper_macros.GNU: added -max_threads=100 to
Quantify options.
* include/makeinclude/rules.local.GNU: added *.sym to clean target.
Thu Sep 04 09:39:08 1997 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.3.3, released Thu Sep 04 09:39:08 1997.
Thu Sep 04 08:48:13 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: added shared_libs_only
and static_libs_only build options. Only static_libs_only
has been tested successfully.
* include/makeinclude/rules.lib.GNU: added INSTALL support for
shared_libs_only and static_libs_only.
* include/makeinclude/platform_vxworks*.GNU: use static_libs_only.
* ace/OS.cpp: moved tss_open ()/tss_close () calls from invoke ()
to ace_thread_adapter.
* examples/Threads/auto_event.cpp,manual_event.cpp,
process_manager.cpp,reader_writer.cpp,tss2.cpp:
cast spawn entry point to ACE_THR_FUNC.
* examples/Threads/task_four.cpp (Invoker_Task): rearranged
initializers to match declaration order.
* examples/Threads/thread_specific.cpp (worker): use
ACE_OS::printf () instead of printf (), and print out the
ACE_hthread_t instead of the ACE_thread_t.
* examples/IPC_SAP/SPIPE_SAP/client.cpp,consumer_msg.cpp,
consumer_read.cpp,producer_msg.cpp,producer_read.cpp,server.cpp:
moved #include of shared.h inside ACE_HAS_STREAM_PIPES protection
to avoid compilation warnings on unsupported platforms.
* examples/Reactor/Ntalker/ntalker.cpp (main): removed unused "argc".
* examples/*/*.cpp,netsvcs/clients/Tokens/mutex/test_mutex.cpp:
added args to main ().
Wed Sep 3 21:38:18 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
* ace/config-irix6.x-sgic++.h:
IRIX uses pthread_sigmask to manage per-thread signal mask,
thanks to Gonzalo Diethelm (gonzo@ing.puc.cl) for pointing out
this one.
* ace/OS.h:
Removed an initial '#' for a comment line, thanks to Gonzalo
Diethelm (gonzo@ing.puc.cl) for pointing out this one.
* ace/Timer_Hash_T.cpp:
* ace/Timer_Hash_T.h:
* ace/Timer_Heap_T.cpp:
* ace/Timer_Heap_T.h:
* ace/Timer_List.cpp:
* ace/Timer_List_T.cpp:
* ace/Timer_List_T.h:
* ace/Timer_Queue_T.cpp:
* ace/Timer_Queue_T.h:
* ace/Timer_Wheel_T.cpp:
* ace/Timer_Wheel_T.h:
In the word of its author: Modified the iterators kept in each
of these classes so that they are constructed dynamically on the
heap after the Queue has been properly initialized. Otherwise,
the iterators try to iterate over a non-initialized queue, and
fail miserably (usually dumping core).
Once more thanks to Gonzalo Diethelm (gonzo@ing.puc.cl) for this
changes.
* tests/UPIPE_SAP_Test.cpp:
Gonzalo improved the error message.
* ace/README:
Gonzalo updated the documentation for some macros.
Wed Sep 03 15:21:46 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: define ACE_TSS macros with ACE_HAS_TSS_EMULATION,
and renamed some ACE_TSS_Emulation methods.
* ace/OS.i: allow TSS_Emulation storage to be on thread stack,
instead of always dynamically allocating it.
* ace/OS.cpp (ACE_Thread_Adapter::invoke): allocate TSS_Emulation
storage on thread stack. (ACE_TSS_Cleanup::exit): only call
a TSS destructor if the thread's value is non-zero.
* ace/Thread_Manager.cpp: support TSS_Emulation.
* ace/Thread_Manager.cpp (resize): zero out unused cleanup_hooks
in thr_table_; (run_thread_exit_hooks): check for zero cleanup
hook before calling.
* ace/Synch_T.*: allow ACE_HAS_TSS_EMULATION _or_
ACE_HAS_THREAD_SPECIFIC_STORAGE.
* ace/Object_Manager.{h,cpp}: allocate main thread's TSS_Emulation
storage in the ACE_Object_Manager instance.
* ace/Log_Msg.h: befriend ACE_OS::cleanup_tss () instead of
ACE_Object_Manager, because the cleanup path is now indirect
from the ACE_Object_Manager.
* ace/Log_Msg.cpp: use TSS_Emulation on VxWorks, so
VxWorks-specific code was removed.
* ace/Task.cpp: removed unused #include of ace/Dynamic.h. (It had
been used for template instantiations, but they were moved.)
Also, removed unused #include of ace/Object_Manager.h.
* ace/Svc_Handler.{h,cpp}: register Svc_Handler singleton for
deletion with the ACE_Object_Manager.
* tests/Process_Strategy_Test (Options): added a destructor so that
the dynamically allocated concurrency_strategy_ can be deleted.
Wed Sep 3 08:05:26 1997 Steve Huston <shuston@riverace.com>
* ace/Message_Block.h: Corrected comment on release(void) - the
underlying ACE_Data_Block's refcount is decremented; the
ACE_Message_Block is always deleted.
Tue Sep 2 18:26:22 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Task: Revised the ACE_Task_Base::svc_run() method to
register a thread exit hook (ACE_Task_Base::cleanup())
* ace/Task: Added a static method called cleanup() that can serve
as a thread exit hook to ensure that close() is always called
when a task exits a thread.
* ace/Thread_Manager: Added the first-cut implementation of the
thread exit hooks. This one is butt-simple -- just allowing a
single hook per-thread, but that should be enough to get us over
the hump...
* ace/OS.h: Moved the object_info_t type from Object_Manager.h and
renamed it to ACE_Cleanup_Info since we will use it with the
Thread_Manager and the Object_Manager.
* ChangeLog-97b: Emptied out the ChangeLog-97b file until
we move the ChangeLog to this file...
* ace/OS.h: Moved the <ACE_CLEANUP_FUNC> typedef from the
ACE_Object_Manager into global scope so that it can also be used
by the ACE_Thread_Manager.
* ace/DEV_IO: Moved the get_remote_addr() and get_local_addr()
from the DEV class to the DEV_IO class, which seems to be more
consistent with how they should be used.
* ace/FILE_IO: Added the get_remote_addr() and get_local_addr()
methods to FILE_IO. Now we should be able to use this with the
Connector pattern. Thanks to Stephen Coy
<coys@mail.ns.wsa.com.au> for reporting this.
* ace/DEV_Connector*h, ace/FILE*.h: Added "traits" for PEER_ADDR
and PEER_STREAM. Now we should be able to use this with the
Connector pattern. Thanks to Stephen Coy
<coys@mail.ns.wsa.com.au> for reporting this.
* tests/Async_Timer_Queue_Test.cpp (main): Replaced the use of
fputs() with read() so that it will be signal-safe. Thanks to
Carlos for pointing out the need for this.
* ace/Task: All the complex ACE_Task_Exit logic has been moved out
of the Task file and into the Thread_Manager file. This will
both simplify and generalize the behavior of cleanups on thread
exit.
Tue Sep 2 14:42:52 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/config-chorus.h (ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR):
Added this directive for Chorus uses g++. Thanks to David
Levine for pointing this out.
Mon Sep 01 21:31:25 1997 David L. Levine <levine@cs.wustl.edu>
* ChangeLog-97b,Makefile,bin/create_ace_build: ChangeLog is no longer
a symbolic link, but instead is the most recent ChangeLog file.
ChangeLog-97b was moved to ChangeLog.
* ace/Timer_Queue_T.cpp (schedule): added ACE_UNUSED_ARGs for act
and interval.
* ace/OS.h: changed ACE_SEH_EXCEPT and ACE_SEH_FINALLY from null
to "while (0)" on all platforms except ACE_WIN32. Thanks to
Nanbor for this bit of macro wizardry.
* ace/OS.i (tss_base): cast VxWorks TCB spare field to a void **&
instead of a void **, because the function returns a reference
to it.
* ace/OS.cpp: protected definition of
ACE_TSS_Emulation::tss_collection_ on VxWorks, where it's not used.
* ace/OS.cpp (ACE_Thread_Adapter::invoke) don't exit the thread
with TSS_EMULATION, except on WIN32. (thr_create) On VxWorks,
use thread adapter as entry point instead of func (via macros).
* ace/config-vxworks*.h: added ACE_HAS_TSS_EMULATION, with
ACE_DEFAULT_THREAD_KEYS set to 16, and ACE_LACKS_UNIX_SIGNALS.
* tests/Async_Timer_Queue_Test.cpp: added template instantiations.
* tests/IOStream_Test.cpp: no longer need to dynamically allocate
the ACE_SOCK_IOStreams with the recent ACE_Thread_Manager changes.
That was causing occasional problems with unsafe deletion of the
underlying ostreams. Thanks to James Johnson for consulting on
this intermittent (nasty) problem.
* tests/SPIPE_Test.cpp: (main) added ACE_UNUSED_ARG of client
and server.
* tests/Thread_Manager_Test (worker): added ACE_UNUSED_ARG (thr_mgr)
if ACE_LACKS_UNIX_SIGNALS, and added template instantiations.
* tests/Thread_Manager_Test.cpp: dynamically allocate the
signal_catcher so that we can destroy it before the main
thread's TSS is cleaned up.
* tests/TSS_Test.cpp: dynamically allocate TSS_Error so that we
can ensure its deletion before that of ACE_Object_Manager.
Also, makde the code a little easier to change the number of threads.
* include/makeinclude/wrapper_macros.GNU: added Purify options to
ignore SIGINT and set max threads to 100.
Mon Sep 1 10:53:39 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Handle_Set: Added an assignment operator that is optimized
for the case when the right-hand side is 0.
* ace/OS: The ACE_THR_C_FUNC macro was confusing for Win32. We've
replaced this with the original UNIX typedef and will just use
LPTHREAD_START_ROUTINE for Win32.
* tests/Thread_Manager_Test.cpp (main): Revised this test so that
we don't have race conditions for suspend() and resume().
* tests/Tokens_Test.cpp (run_test): Removed the use of
THR_SUSPENDED and resume_all() since this is broken due to race
conditions and other hazards implicit in using suspend() and
resume() on threads.
* ace/Handle_Set.cpp: There were several ACE_INLINE methods in the
Handle_Set.cpp file. I've removed the ACE_INLINE flag.
* tests/SPIPE_Test.cpp: If ACE doesn't have STREAM pipes on a
platform (or we aren't on NT) then don't try to run this test.
Thanks to James CE Johnson <ace-users@lads.com> for reporting
this.
* ace/config-sunos5.[45]-g++.h: ACE defines _REENTRANT in
config.h. Application using classes of ACE can conflict by
using compilation option as -D_REENTRANT. I fixed this by
surrounding the define as:
#if !defined (_REENTRANT)
#define _REENTRANT
#endif /* _REENTRANT */
Thanks to Jean-Marc Strauss <strauss@limeil.cea.fr> for
reporting this.
* ace/Timer_Queue_T.h: We need to #include "ace/Signal.h" since
our Async_Timer_Queue_Adapter needs it. Thanks to Neil Cohen
for reporting this.
* ace/Reactor.cpp (check_handles): Optimized the check for invalid
handles by using fstat() rather than select() on non-Win32
platforms. Thanks to Arturo for suggesting this optimization.
Mon Sep 1 17:52:10 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Timer_Heap_T.cpp: Changed cancel (id ...) to check for
previously expired/cancelled timers
Mon Sep 01 08:43:37 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Synch.cpp: added #include of Object_Manager.h.
Thanks to Edan Ayal <edana@vdo.net> for reporting this.
Mon Sep 1 00:46:05 1997 Nanbor Wang <nw1@dingo.wolfpack.cs.wustl.edu>
* ace/README: Added explanation for ACE_HAS_STL_MAP_CONFILICT.
* ace/OS.h: Added conditional compilation directive
ACE_HAS_STL_MAP_CONFLICT. This is used when users want to
compile ACE with STL library and the STL map class conflicts
with map structure in <net/if.h>.
* ace/config-unixware-2.1.2-g++.h:
* ace/config-unixware-2.01-g++.h:
* ace/config-osf1-4.0-g++.h:
* ace/config-irix5.3-g++.h:
* ace/config-hpux-10.x-g++.h:
* ace/config-linux-pthread.h:
* ace/config-linux-lxpthreads.h:
* ace/config-linux.h:
* ace/config-freebsd.h:
* ace/config-freebsd-pthread.h:
Added ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR flag for all
config files which apparently use g++.
* ace/config-vxworks-g++.h:
* ace/config-vxworks5.x-g++.h:
* ace/config-sunos4-g++.h:
* ace/config-sunos5.4-g++.h:
* ace/config-sunos5.5-g++.h:
Moved ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR closer to
other template-related directives.
Sun Aug 31 22:56:30 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.3.2, released Sun Aug 31 22:56:30 1997.
Sun Aug 31 22:36:08 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Async_Timer_Queue_Test.cpp: Need to #include "Timer_List.h"
rather than "Timer_Queue.h".
* ace: Added ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT for all
config.h files.
* ace/Handle_Set.cpp (count_bits): Continued to optimize this
method. Now, if ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT enabled
it will use a very fast loop that only runs for as many bits
that are enabled in the bitset. This approach also doesn't have
to access the Global Offset Table in shared libraries, which is
a win. Thanks to Arturo for contributing this.
* tests/Async_Timer_Queue_Test.cpp: Generalized this test to use
the new ACE_Async_Timer_Queue_Adapter.
* ace/Timer_Queue_T: Added the new ACE_Async_Timer_Queue_Adapter,
which makes it possible to encapsulate any of the ACE Timer
Queue mechanisms into a asynchronous signal-handling context.
* ace/OS.i: If the platform doesn't support ualarm() (and it
doesn't lack UNIX signals) then we'll use alarm() rather
than ualarm(). Clearly, this isn't as good as ualarm(),
but it's better than nothing.
* ace/OS.i: I'd missed replacing
ACE_LACKS_POSIX_PROTO_FOR_SOME_FUNCS
with
ACE_LACKS_POSIX_PROTOTYPES_FOR_SOME_FUNCS
in OS.i. Thanks to James CE Johnson <ace-users@lads.com> for
pointing this out.
Sun Aug 31 09:58:35 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Princess Diana was killed today in a senseless auto accident in
Paris, France. This is a very tragic ending to a very promising
life ahead of her.
Sun Aug 31 15:08:00 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Async_Timer_Queue_Test.cpp: fixed and added some
ACE_UNUSED_ARG's.
* netsvcs/clients/Tokens/invariant/invariant.cpp (run_mutex,
run_reader_writer),
netsvcs/clients/Tokens/mutex/test_mutex.cpp (run_test),
netsvcs/clients/Tokens/rw_lock/rw_locks.cpp (run_thread):
removed unused argument "vp".
* ace/ACE.i (log2): moved "log" declaration outside of the
for loop because its used after the loop.
* ace/Task.cpp (instance) only register for destruction with
ACE_Object_Manager when creating a new instance_.
* ace/Thread_Manager.cpp (ACE_Thread_Control::exit) with TSS
emulation, don't exit the thread. Instead,
ACE_Thread_Adpater::invoke () will do it after cleaning up TSS.
* ace/Synch{h,cpp}: (ACE_TSS_Cleanup_Lock) register for
destruction with ACE_Object_Manager.
* ace/OS.*: major cleanup of ACE_TSS_Emulation, esp. how it
interacts with ACE_TSS_Cleanup::exit ().
Sat Aug 30 17:30:24 1997 Steve Huston <shuston@riverace.com>
* Removed these config files:
config-hpux-10.x-aCC.h
config-hpux-10.x-decthreads.h
config-hpux-10.x-nothread.h
config-hpux-10.x-hpc++.h should be used with HP compilers on
HP-UX 10.x.
Sat Aug 30 14:58:42 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Signal.cpp (ACE_Sig_Action): Added a new constructor that
also takes an ACE_Sig_Set & *and* registers the handler...
* ace/Handle_Set.cpp (count_bits): Added a newly optimized
algorithm for cases where
ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT. Thanks to Arturo for
this suggestion.
* ace/config-sco-5.0.0*.h: Added ACE_HAS_LONG_FDMASK for all the
SCO files. Thanks to Arturo for suggesting this.
* ace/Signal: Added a new mutator method to reassign an
ACE_Sig_Set to an ACE_Sig_Action.
* ace/Handle_Set.i: If the size of the fd_set is 0 then operator
fd_set *() just returns 0. This will help to optimize the
performance of the Reactor. Thanks to Arturo for suggesting
this.
* ace/Handle_Set.cpp (count_bits): Added yet another improvement
to remove the "i" iterator. Thanks to Arturo for this!
* ace/Log_Msg.cpp (log): Used the new ACE_Log_Record::priority()
method in place of the type() method so that the priorities are
handled correctly.
* ace/Log_Record: Added two new methods that get/set the
"priority" of an ACE_Log_Record. This value computed as the
base 2 log of the value of the corresponding ACE_Log_Priority
enumeral (which are all powers of two). We need this mapping
function so that we can use the priorities as parameters to the
putpmsg() function (which can only map between 0-255). Thanks
to Per Andersson for finding this stuff!
* ace/ACE: Added a new method to compute the base2 logarithm of a
number.
* Replaced all uses of ACE_Thread_Control since this is now
handled by the ACE_Thread_Manager.
* ace/Thread_Manager.cpp (spawn_i): Make sure to pass "this" to
the ACE_Thread_Adapter if we're constructing it in the
ACE_Thread_Manager::spawn_i() method.
* ace/OS.i (cond_timedwait): Added a special check to see if
timeout != 0, in which case we just call ACE_OS::cond_wait().
Therefore, VxWorks can now use ACE_OS::cond_timedwait(), as long
as the timeout == 0! This simplifies certain internal ACE code.
Thanks to David Levine for pointing this out.
* ace/Handle_Set.cpp (count_bits): Changed the code from
for (int i = 0; i < sizeof (u_long); i++)
{
rval += ACE_Handle_Set::nbits_[n & 0xff];
n >>= 8;
}
to
for (int i = 0; n != 0; i++)
{
rval += ACE_Handle_Set::nbits_[n & 0xff];
n >>= 8;
}
in order to speed it up in the "best case." Thanks to Arturo
Montes <mitosys@colomsat.net.co> for reporting this.
* ace/Thread.cpp (spawn_n): Added a test to make sure that the
thread_ids is != 0 before we assign into this.
Fri Aug 29 22:45:21 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/config-vxworks-g++.h:
* ace/config-vxworks5.x-g++.h:
* ace/config-sunos4-g++.h:
* ace/config-sunos5.4-g++.h:
* ace/config-sunos5.5-g++.h:
Added flag ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR to these
config files.
* ace/README: Added explanation of flag
"ACE_HAS_BROKEN_EXPLICIT_TEMPLATE_DESTRUCTOR."
When calling a template class'es destructor explicitly, if you
must use "ptr->FOO<BAR>::~FOO ();" but not
"ptr->FOO<BAR>::~FOO<BAR> ();" then, you must add this flag to
your config file.
* ace/OS.h (ACE_DES_FREE_TEMPLATE): Added this new macro to cope
with the fact that compilers require different syntax when
calling destructor of template classes explicitly. This macro
takes four arguments, POINTER, DEALLOCATOR, CLASS, and
TEMPLATE_PARAMETER. To deallocate a pointer allocated by
ACE_NEW_MALLOC and you need to call FOO<BAR> class'es
destructor, you'll write:
ACE_DES_FREE_TEMPLATE (ptr, alloc->free, FOO, <BAR>);
* ace/Containers.cpp: Changed to use ACE_DES_FREE_TEMPLATE to iron
out differences among compilers.
Fri Aug 29 15:31:50 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*,Synch.{h,cpp},Object_Manager.cpp: started adding
support for TSS emulation.
* ace/OS.h: declare class ostream if
ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
* tests/Async_Timer_Queue_Test.cpp (parse_commands): fixed
sscanf format specifiers to match argument types; (main):
fixed ACE_ERROR_RETURN parens; protected bulk of code with
ACE_HAS_UALARM so that the test will build cleanly on
platforms without it.
Fri Aug 29 00:43:27 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Synch.cpp (wait): Simpified the call to
ACE_OS::cond_timedwait() to avoid an extra test. Thanks to
Arturo for pointing this out.
* ace/TTY_IO: Added native support for TSETA. Thanks to Arturo for
this.
* ace/Strategies_T.cpp: Finished integrating the ACE_DLL_Strategy
implementation, which is used in TAO. Thanks to Satheesh Kumar
MG <satheesh@india.aspectdv.com> for motivating this.
* ace/Synch_T.h: Clarified the constructor for ACE_TSS that takes
a TYPE * as an argument. Note that this only initializes the
TSS value in the *calling* thread, but not any other threads
that may come along later on. Thanks to Bob Laferriere
<laferrie@gsao.med.ge.com> for helping to clarify this.
* ace/Synch_T.h: Removed stray semi-colons from some of the
ACE_SYNCH_* macros. Thanks for Wei Chiang for reporting this.
Fri Aug 29 11:40:10 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.cpp: Added cast for ace_thread_adapter.
* ace/OS.h: Changed name of ACE_Thread_Adapter's constructor's
fourth parameter from tm to tmgr since tm conflicted with
another tm.
* ace/Thread_Manager.cpp: In spawn_i, changed the last parameter
given to spawn to thread_args. Also had to add a cast for
ace_thread_adapter.
Fri Aug 29 06:44:05 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.h (ACE_DES_FREE): Added this macro which will call
designate destructor before freeing the memory. This is a
matching macro that should go with ACE_NEW_MALLOC and
ACE_NEW_MALLOC_RETURN which allocate memory using designate
allocator then call the user specified constructor explicitly.
* ace/Containers.cpp: Many memory deallocations of container's
nodes were changed to use the new macro which deletes objects
correctly.
Thanks very, very much to Ivan Murphy for torturing various
test programs and reporting those tests which fail the
excruciation.
Fri Aug 29 01:26:38 1997 <irfan@TWOSTEP>
* ace/ReactorEx.cpp: Added two new methods to ReactorEx -
schedule_wakeup() and cancel_wakeup(). Also fixed some bugs
related to our local copy of network_events_ not getting updated
properly. Thanks to Edan Ayal <edana@vdo.net> for pointing out
the two missing functions.
Thu Aug 28 20:12:23 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Thread_Manager.cpp: Added a new ace_thread_manager_adapter()
function, which is similar to the ace_thread_adapter function
used in ACE_OS::thr_create(). However, the new function ensures
that threads spawned by an ACE_Thread_Manager are automatically
registered and deregistered from the Thread Manager.
* ace/ACE.h (inherit_log_msg): Factored out the functionality to
inherit the logging features if the parent thread has an
ACE_Log_Msg instance in thread-specific storage. This function
is called in several places (e.g., OS.cpp and
Thread_Manager.cpp), so it pays to factor it out.
* ace/OS.h (ACE_Thread_Adapter): Added a new data member that
keeps track of which thread entry point function we will pass to
the underlying OS thread creation routine. The default value is
ace_thread_adapter, but this can be overridden to do different
things...
* ace/OS,
ace/Thread: Extended thr_create() so that if an
ACE_Thread_Adapter is passed to it this is used in lieu of the
func and arg parameters. This reduces the amount of dynamic
allocation and indirection required with the new
ACE_Thread_Manager.
* ace/Task.h: Removed the ACE_Thread_Control data member from the
ACE_Task_Exit class since it now belongs to the
ACE_Thread_Manager instead...
* ace/OS.cpp: Move the ACE_Thread_Adapter out of the OS.cpp file
and made it a first-class citizen of ACE. We can put this
to good use in the new ACE_Thread_Manager.
* ace/OS.cpp: The ACE_Thread_Adapter is now the default behavior
in ACE. If you don't want to use it for whatever reason,
you'll need to set the ACE_NO_THREAD_ADAPTER macro.
* ace/config-sco-5.0.0-fsu-pthread.h: Added
ACE_LACKS_CONST_TIMESPEC_PTR. Thanks to Arturo for this.
* ace/Synch.cpp (wait): Removed the reference assignment and just
take the address of this->mutex_.lock_. Also, removed the
additional check for abstime == 0 in order to speed up the
common case. Thanks to Arturo for these suggestions.
Thu Aug 28 20:02:03 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.3.1, released Thu Aug 28 20:02:03 1997.
Thu Aug 28 00:21:09 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Strategies_T.cpp (ACE_Thread_Strategy): Added reasonable
values to the default constructor. Thanks to Stephen Coy
<stevec@wsa.com.au> for reporting this.
* ace/config-irix6.x-sgic++-*.h: Added ACE_HAS_UALARM. Thanks to
Amos Shapira <amos@gezernet.co.il> for reporting this.
* ace/config-aix-4.*.h: Added ACE_HAS_UALARM. Thanks to Cary
Clark for reporting this.
* ace/config-hpux-10.x*.h: Added ACE_HAS_UALARM. Thanks to Cary
Clark for reporting this.
* ace/config-osf1*.h: Added ACE_HAS_UALARM. Thanks to Thilo
for reporting this.
* ace/config-mvs.h: Added ACE_HAS_UALARM. Thanks to Chuck Gehr
for reporting this.
* tests/Async_Timer_Queue_Test.cpp: Added a new test that will
illustrate how to implement an asynchronously invoked
Timer_Queue using UNIX SIGALRM signals.
Thu Aug 28 19:32:07 1997 <irfan@TWOSTEP>
* examples/Reactor/ReactorEx: Added two new applications
(test_registry_changes.cpp and test_console_input.cpp) to show
some more features of ReactorEx. test_registry_changes.cpp shows
how to monitor the Registry using ReactorEx.
test_console_input.cpp shows how to use ReactorEx to get
notified when input shows up on the console.
Thu Aug 28 18:07:37 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Timer_{List,Heap,Wheel,Hash}_T.cpp: Changed the behavior
of the iterator to automatically initialize when the iterator
is constructed.
Thu Aug 28 10:43:35 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Task.{h,cpp} (ACE_Task_Exit::instance) added call to
ACE_Object_Manager::at_exit () to clean up the singleton at
program termination.
Thu Aug 28 03:25:52 1997 Nanbor Wang <nw1@lambada.cs.wustl.edu>
* tests/Task_Test.cpp (Barrier_Task):
* tests/TSS_Test.cpp (main): Added an array to collect thread
handles in order to clean them up. Thanks to Ivan Murphy
for pointing this out.
* ace/Thread_Manager.{h,cpp} (spawn_n):
* ace/Task.{h,cpp} (activate):
Added an extra argument ACE_hthread_t thread_handles[] with
default value 0. We need this argument to collect handles of
spwaned/activated threads. On NT, we have to join terminated
threads explicitly to prevent handles leak. Thanks to Ivan
Murphy for digging this out.
Wed Aug 27 10:48:25 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace: Changed all occurrences of ACE_LACKS_RLIMIT_PROTO to
ACE_LACKS_RLIMIT_PROTOTYPE, ACE_LACKS_POSIX_PROTO to
ACE_LACKS_POSIX_PROTOTYPES, and ACE_LACKS_SYSV_MSQ_PROTOS to
ACE_LACKS_SYSV_MSQ_PROTOTYPES to be more consistent.
* ace/config-sunos5.x*.h: Added ACE_HAS_UALARM to all the Solaris
config files. However, also had to add ACE_LACKS_UALARM_PROTOTYPE
since Solaris strangely doesn't provide this prototype.
* ace/OS.h: Added an ACE_Time_Value version of ACE_OS::ualarm().
* ace/Signal: Added a new constructor for ACE_Sig_Action that
takes an ACE_Sig_Set parameter.
* ace/Signal: Added a sigset() accessor method.
* ace/config-unixware-2.1.2-g++.h: Added ACE_HAS_UALARM. Thanks
to Ganesh Pai <gpai@voicetek.com> for reporting this.
* ace/OS.h: Added a default value of 0 to ACE_OS::time().
* ace/Synch.i (ACE_Thread_Mutex_Guard): Rearranged the code so
that we can inline the acquire(), tryacquire(), and release()
methods properly. Thanks to David Levine for pointing this out.
* ace/OS.h: Added ACE_OS support for the ualarm() method. If your
platform supports ualarm() please send me email so I can set the
ACE_HAS_UALARM flag in your config.h file.
* tests/Makefile: Added an asynchronous timer queue test.
* examples/IOStream/server/iostream_server.cpp: Added a new macro
to work around the fact that some C++ compiles don't grok
template typedefs. Thanks to Oleg Krivosheev <kriol@fnal.gov>
for pointing this out.
* ace/OS,
ace/Task.cpp:
Installed a bunch of patches for FSU pthreads. Thanks to Arturo
Montes <mitosys@colomsat.net.co> for sending this.
* Makefile: Added a line to the release script that will
automatically generate an ACE-INSTALL text file from the
ACE-INSTALL.html file. Thanks to Oleg Krivosheev
<kriol@fnal.gov> for suggesting this.
* performance-tests/Misc/Makefile: Added $(BIN) to the FILE target
so that "make depend" will work. Thanks to David Levine for
pointing this out.
* ace/Synch.i: Eliminated unnecessary assignment to this->owner_.
Thanks to Chris for pointing this out.
* ace/OS.i (msgctl): Added a "struct" to the definition of
msqid_ds. Thanks to Steve Hickman <SHICKMAN@cobra.mcit.com> for
reporting this.
Thu Aug 28 01:07:21 1997 <irfan@TWOSTEP>
* examples/Reactor/ReactorEx/test_directory_changes.cpp: Added a
new example application. This application tests the working of
ReactorEx when users are interested in changes in the
filesystem.
Wed Aug 27 22:06:23 1997 Nanbor Wang <nw1@lambada.cs.wustl.edu>
* *.{mak,mdp,dsw,dsp}: Updated ACE's library names on Win32 as
below. Only Microsoft's Win95 and Windows NT are effected.
Version Dynamic Library Static Livrary
------------------ -------------------- -----------------
Debug aced.lib, aced.dll acesd.lib
Release ace.lib, ace.dll aces.lib
Debug w/ UNICODE aceud.lib, aceud.dll acesud.lib
Release w/ UNICODE aceu.lib, aceu.dll acesu.lib
Thanks to John Morey <jmorey@tbi.com> for suggesting this and
Darrell for updating VC 5.0's makefiles.
* ace/config-freebsd[-pthread].h (ACE_HAS_UALARM): FreeBSD does has
ualarm.
Wed Aug 27 10:52:59 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/Synch_T.h (CTOR): Eliminated unnecessary assignment to
this->owner_.
Wed Aug 27 09:32:57 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Singleton.cpp (instance): removed full qualification of
"instance_" in ACE_NEW_RETURN macro, because it confused
the Sun C++ 4.2 preprocessor.
* ace/Singleton.cpp: added support for ACE_HAS_SIG_C_FUNC platforms,
e.g., on MVS. At least I tried to. The cleanup function,
on ACE_HAS_SIG_C_FUNC platforms only, doesn't call the object's
destructor. It just deallocates the storage. That should be
good enough; I don't think it's worth trying to do more than that.
* ace/Synch.cpp (close_singleton): removed call to
ACE_Allocator::close_singleton (), because this method is
only called if ACE_HAS_THREADS.
* ace/Object_Manager.cpp (dtor): added call to
ACE_Allocater::close_singleton (), and protected call to
ACE_Static_Object_Lock::close_singleton () with ACE_HAS_THREADS.
* tests/Time_Value_Test.cpp: disabled ACE_U_LongLong test
on ACE_WIN32 platforms, because that class is never used
there. Thanks to Nanbor for finding this.
* performance-tests/Misc/preempt.cpp,Makefile: added preempt
test, which tests for thread preemption.
Tue Aug 26 13:59:01 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler_T.cpp: Changed the symbol
"SS" to "SST" to avoid a namespace collision with UnixWare.
Thanks to Ganesh Pai <gpai@voicetek.com> for pointing this out.
* ace: Added a new config file to sco using FSU pthreads. Thanks
to Arturo Montes <mitosys@colomsat.net.co> for sending this.
* include/makeinclude: Added a new platform macros file to sco
using FSU pthreads. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for sending this.
Tue Aug 26 22:06:14 1997 <irfan@TWOSTEP>
* examples/Reactor/ReactorEx: Added two new applications for
testing some of the new features of ReactorEx. Added
documentation and renamed some of the older test files to make
it easier to comprehend the examples.
Tue Aug 26 11:47:29 1997 <irfan@TWOSTEP>
* ace/OS.i (mutex_trylock): Changed this method to make it deal
correctly with abandoned mutexes. Also added a new mutex_trylock
method that allows the user to know if the mutex was abandoned
(through an extra out parameter). Also fixed
ACE_OS::cond_timedwait(), ACE_OS::cond_wait(),
ACE_OS::event_wait(), ACE_OS::event_timedwait() and
ACE_OS::sema_wait() to remove extra checks for WAIT_ABANDONED,
since we are not dealing with mutexes in these methods. Thanks
to Ivan Murphy <Ivan.Murphy@med.siemens.de> for pointing this
out.
Tue Aug 26 11:06:45 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,config-vxworks5.x-g++.h:
split ACE_HAS_RENAMED_MAIN into ACE_MAIN and
ACE_HAS_NONSTATIC_OBJECT_MANAGER.
* ace/ACE.cpp: only create the ACE_Object_Manager_Destroyer
if not ACE_HAS_NONSTATIC_OBJECT_MANAGER.
* ace/Object_Manager.{h,cpp}: dynamically allocated the
contained ACE_Unbounded_Queue to so that it can be deallocated
before the ACE_Allocator is destroyed.
* ace/Singleton.{h,cpp}: register all ACE_Singletons for
cleanup with the ACE_Object_Manager.
* ace/Synch.{h,cpp}: renamed ACE_Static_Object_Lock::atexit () to
close_singleton (), and removed the unused atexit hook.
* ace/Log_Msg.cpp (ACE_Log_Msg_Manager::close): delete the
main thread's Log_Msg.
* ace/config-vxworks-ghs-1.8.h: added ACE_HAS_NONSTATIC_OBJECT_MANAGER.
* tests/Time_Value_Test.cpp: added tests of ACE_U_LongLong.
* tests/Atomic_Op_Test.cpp (main): added arguments to main ().
* tests/Barrier_Test.cpp (main): delete thread_handles array
to prevent memory leak.
* examples/Reactor/Misc/test_signals_2.cpp (main): changed
type of second arg from "char *" to "char *[]".
Mon Aug 25 14:13:57 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
* ace/OS.h:
Changed the return type of sendmsg_timedwait from sszie_t to
ssize_t, this should only affect platforms where
ACE_LACKS_TIMEDWAIT_PROTOTYPES, further it was definitely wrong
before.
Thanks to ARTURO MONTES <mitosys@colomsat.net.co> for pointing
out this one.
Mon Aug 25 10:15:06 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Message_Queue.cpp (notify): fixed ACE_TRACE message.
* examples/ASX/UPIPE_Event_Server/event_server.cpp,
examples/Connection/misc/test_upipe.cpp,
examples/Connection/non_blocking/test_*.cpp,
examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp,
examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp,
examples/Misc/test_dump.cpp,
examples/Reactor/FIFO/client.cpp,
examples/Reactor/Misc/test_*.cpp,
examples/Reactor/Proactor/test_multiple_loops.cpp,
examples/Reactor/Proactor/test_timeout.cpp,
examples/Reactor/ReactorEx/test_timeout.cpp,
examples/Reactor/ReactorEx/test_exceptions.cpp,
examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp,
examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp,
examples/Shared_Malloc/test_multiple_mallocs.cpp,
examples/System_V_IPC/SV_Message_Queues/*MQ_*.cpp,
examples/System_V_IPC/SV_Semaphores/Semaphores_?.cpp,
examples/Threads/process_mutex.cpp,
examples/Threads/recursive_mutex.cpp,
examples/Threads/tss1.cpp,
examples/Threads/thread_specific.cpp,
examples/Threads/token.cpp,
examples/Threads/wfmo.cpp,
tests/Simple_Message_Block_Test.cpp,
tests/Hash_Map_Manager_Test.cpp:
added arguments to main () to support redeclaring it on VxWorks.
From now on, we should always declare main () with arguments, e.g.,
int
main (int, char *[])
Sun Aug 24 10:27:33 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tests/Future_Test.cpp (Scheduler): Removed the non-existent
friend class Method_ObjectWork. Thanks to Sandro Doro
<doros@aureus.sublink.org> for reporting this problem.
* ace/Message_Block.h: Clarified in the comments that the length()
of a Message_Block is 0 until the wr_ptr() is explicitly set.
Thanks to Amos Shapira <amos@gezernet.co.il> for pointing out
the need for this.
Sat Aug 23 14:43:27 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.3, released Sat Aug 23 14:43:27 1997.
Sat Aug 23 14:40:32 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Released the long-awaited ACE 4.3. Good night sweet prince:
And flights of angels sing thee to thy rest.
Sat Aug 23 00:44:09 1997 Douglas C. Schmidt <schmidt@merengue.cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler.cpp: Make sure that we
explicitly instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM,
ACE_NULL_SYNCH> whether or not we're building with threads
since otherwise we get link errors.
Fri Aug 22 20:58:49 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.cpp (ACE_TSS_Cleanup): Changed the lock for
ACE_TSS_Cleanup from a static object to a singleton to avoid the
nasty detruction order problem. This only effects Win32.
* ace/Synch.{h,cpp}: Added a new singleton lock
"ACE_TSS_Cleanup_Lock" for Win32 platform. This object is
expect to be put under ACE_Object_Manager's control and will
probably gone/changed in the near future.
Fri Aug 22 18:48:17 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
* ACE-install.sh:
I updated the information on IRIX. Now we know for a fact it
compiles on IRIX 6.x, but we are not certain on IRIX 5.X.
* bin/auto_compile_wrapper:
I have tried to make it clear that auto_compile_wrapper must be
tailored on each site. The email address is invalid and the
script should just crash the
* ace/OS.i (cond_timedwait):
It used to always dereference the timeout parameter, which could
be 0 (heading for a
Sthreads use timestruc_t instead of timespec_t, thanks to
Ganesh Pai <gpai@voicetek.com> for pointing out this one and to
Steve Huston <shuston@riverace.com> for explaining to us what
was going on.
Fri Aug 22 08:46:39 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks*.GNU:
unset SHLIB to fix builds without PRELIB.
* netsvcs/lib/Logging_Strategy.cpp,
examples/Threads/task_three.cpp: include fstream.h and
iostream.h if ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
* examples/ASX/UPIPE_Event_Server/event_server.cpp,
examples/Log_Msg/test_log_msg.cpp,
examples/Reactor/Misc/test_time_value.cpp,
examples/Logger/Accepter-server/server_loggerd.cpp:
#include iostream.h if ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
* examples/ASX/UPIPE_Event_Server/Peer_Router.cpp (svc):
replaced an iostream printout with an ACE_DEBUG call.
* examples/Misc/test_read_buffer.cpp,
test_dump.cpp,
Mem_Map/IO-tests/test_io.cpp:
replaced bare OS calls with ACE_OS calls.
* examples/Reactor/Misc/notification.cpp (Thread_Handler):
added cast of svc_run to ACE_THR_FUNC.
Thu Aug 21 22:38:19 1997 Carlos O'Ryan <coryan@polka.cs.wustl.edu>
* bin/auto_compile:
This tool will checkout ACE_wrapper from CVS, use
bin/create_ace_build to update a clone directory, compile ace
and tests in that clone directory and then run run_tests.sh.
If there is any problem it will report it to email.
* bin/auto_compile_wrapper:
The former needs some configuration information and a proper
enviroment, hence it may not be invoked directly from your
crontab. This tool is used for that purpose.
* apps/Gateway/Gateway/Makefile:
* apps/JAWS/server/Makefile:
* examples/Connection/non_blocking/Makefile:
* examples/IPC_SAP/DEV_SAP/reader/Makefile:
* examples/IPC_SAP/DEV_SAP/writer/Makefile:
* examples/Service_Configurator/IPC-tests/server/Makefile:
* netsvcs/clients/Naming/Client/Makefile:
* netsvcs/clients/Naming/Dump_Restore/Makefile:
* performance-tests/Synch-Benchmarks/Makefile:
No need to defines LIBS=-lACE here, it is already done in
wrapper_macros.GNU. Thanks to Cary Clark <claca@iccokc.com> for
pointing out this one.
* bin/create_ace_build:
New flag -a to create all symlinks using absolute paths, it
helps when the build directory is a symlink too.
* include/makeinclude/platform_irix6.x-sgic++.GNU:
ACE now compiles with little or no warnings, I kept the linker
warnings deactivated though.
-ptall does not work any more. I added a comment on that.
* ace/OS.h:
* apps/Gateway/Gateway/Concrete_Proxy_Handlers.cpp:
* apps/JAWS/clients/Blobby/Blob_Handler.cpp:
* apps/JAWS/server/HTTP_Server.cpp:
* examples/ASX/UPIPE_Event_Server/Peer_Router.cpp:
* examples/IPC_SAP/SPIPE_SAP/NPServer.cpp:
* examples/IPC_SAP/SPIPE_SAP/producer_read.cpp:
* examples/Reactor/Dgram/CODgram.cpp:
* examples/Reactor/Dgram/Dgram.cpp:
* examples/Reactor/Misc/test_demuxing.cpp:
* examples/Reactor/Misc/test_reactors.cpp:
* examples/Reactor/Misc/test_signals_2.cpp:
* examples/Threads/barrier2.cpp:
* examples/Threads/process_manager.cpp:
* examples/Threads/task_three.cpp:
* netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp:
* netsvcs/clients/Tokens/collection/collection.cpp:
* netsvcs/clients/Tokens/mutex/test_mutex.cpp:
* performance-tests/Misc/childbirth_time.cpp:
* tests/Reactor_Exceptions_Test.cpp:
* tests/Reactors_Test.cpp:
* tests/SOCK_Test.cpp:
New macro ACE_NOTREACHED. Some compilers will issue warnings on
unreached statements with things like:
int foo()
{
if (bar) {
return 0;
} else {
return 1;
}
return 0; // warning here
}
but if we remove the last return some other compiler will issue
warnings on leaving the function with no return value.
This macro tries to deal with that, all we have to do is to
write the last line like:
int foo()
{
if (bar) {
return 0;
} else {
return 1;
}
ACE_NOTREACHED(return 0); // No warning now!!!
}
IMHO it also serves as a form of documentation.
Thu Aug 21 21:00:35 1997 <irfan@TWOSTEP>
* ace/Auto_Ptr: Changed auto_ptr implementation to be as close
to the C++ specification as possible. Things that are still
missing are:
(a) std namespace
(b) member templates implementations
(c) making the constructors explicit
* ace/OS.h (ACE_BIT_STRICTLY_ENABLED): Added new macro to check if
a bit is strictly enabled in a word. This is necessary when the
bit would be a combination of bits, and therefore, just
comparing against != 0 (like ACE_BIT_ENABLED does) is not enough
and comparing == BIT is necessary.
Thu Aug 21 19:28:28 1997 James C Hu <jxh@lambada.cs.wustl.edu>
* include/makeinclude/rules.local.GNU (depend.local): If TAO_ROOT
is not set, don't try using it in sed.
* bin/g++dep: Check the existence of the TAO_ROOT environment
variable before adding it to the relative pathname replacement
strategy.
Thu Aug 21 16:29:02 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: added THR_JOINABLE and THR_SCHED_FIFO/RR/DEFAULT
to STHREADS, WTHREADS, and non-threaded platforms. On VxWorks
only, set NSIG to _NSIGS + 1.
* ace/config-vxworks*.h: removed ACE_HAS_POSIX_SEM now that we
emulate it for VxWorks.
* tests/Priority_Task_Test.cpp: use THR_SCHED_FIFO unconditionally
now that it's defined on all platforms.
* include/makeinclude/platform_chorus.GNU,
platform_hpux_gcc.GNU,
platform_linux*.GNU,
platform_m88k.GNU,
platform_osf1_4.0_g++.GNU,
platform_sco*.GNU,
platform_sunos*_g++.GNU,
platform_unixware_g++.GNU,
g++ only: replaced PRELIB with "true" because it's not
needed for template instantiation. The old PRELIB no longer
worked without -lACE being added to LIBS in individual Makfiles.
The only reason to leave PRELIB defined to something is so that
the shared object definitions will be correct in rules.lib.GNU.
That should be fixed after 4.3 is released.
* include/makeinclude/platform_vxworks5.x_ghs.GNU:
PRELIB no longer needed with explicit template instantiation.
Thu Aug 21 12:38:26 1997 Steve Huston <shuston@riverace.com>
* ace/config-hpux-10.x.h: Removed extraneous #endif
Thu Aug 21 12:21:16 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.h (THR_JOINABLE): Defined this macro for Win32 as 0.
Wed Aug 20 22:36:52 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.44, released Wed Aug 20 22:36:52 1997.
Wed Aug 20 18:28:28 1997 Steve Huston <shuston@riverace.com>
* ace/config-hpux-10.x.h: Made some definitions dependent on the
HP-UX version that is compiling the code.
* ace/Filecache.(cpp h): Moved the definition of ACE_Filecache_Object
from .cpp to .h to help AIX xlC's template instantiator along.
* apps/Gateway/Peer/Peer.(cpp h): Moved the definition of Peer_Handler
from .cpp to .h to help AIX xlC's template instantiator along.
* include/makeinclude/platform_(hpux hpux_aCC hpux_gcc).GNU: Added
a compiler option to define HPUX_VERS with the current OS version.
Used in the config-hpux-10.x.h file.
Wed Aug 20 13:44:16 1997 Carlos O'Ryan <coryan@mambo.cs.wustl.edu>
* ace/config-unixware-2.1.2-g++.h:
Unixware does not define timespec_t. Thanks to Ganesh Pai
<gpai@voicetek.com> for pointing out this one.
Wed Aug 20 11:37:44 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.bin.GNU,platform_vxworks5.x_g++.GNU:
added POSTLINK to build symbol table.
Wed Aug 20 07:43:14 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.43, released Wed Aug 20 07:43:14 1997.
Tue Aug 19 08:25:28 1997 Steve Huston <shuston@riverace.com>
* tests/Barrier_Test.cpp: Added THR_JOINABLE to the flags for
creating threads - allows join to work on platforms that create
threads detached by default (i.e. AIX).
* tests/Process_Strategy_Test.cpp: If the final ACE_OS::kill() fails,
don't ACE_OS::wait() for the process.
* ace/config-aix-4.2.x.h: Added ACE_HAS_BROKEN_POSIX_TIME. Commented
out ACE_HAS_AIX_BROKEN_SOCKET_HEADER. Added ACE_HAS_PTHREAD_T,
and will now not use tid_t for any ACE types. Rearranged things
to start clarifying items.
* ace/config-hpux-10.x.h: Removed ACE_HAS_SETKIND_NP and adjusted
other, more meaningful, threads-related definitions to match what
HP 10.10 and 10.20 have for threads. This matches changes to OS.*
* ace/OS.(h i cpp): Removed use of ACE_SETKIND_NP in an effort to
simplify the variety of threads-capability definitions. The only
platforms which used ACE_HAS_SETKIND_NP were HP-UX (see above) and
OSF/1 V3.2 (which has the same threads package as HP-UX). OSF/1
V3.2 may require some adjustments per this change - it probably
should be changed to match HP-UX. OSF/1 V4 (aka Digital UNIX)
is not affected by this change.
* ace/Log_Msg.cpp: Changed the 't' format (thread ID) to call
thread_self() directly on AIX.
Mon Aug 18 21:39:33 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.42, released Mon Aug 18 21:39:33 1997.
Mon Aug 18 20:22:14 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* apps/Gateway/Peer/Makefile:
No need to define LIBS=-lACE here, its already done in
wrapper_macros.GNU. Thanks to Cary Clark <claca@iccokc.com>
for helping in this effort.
Mon Aug 18 19:54:36 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.{h,i} (open, mutex_init, sema_init, event_init, mmap):
Added an extra argument LPSECURITY_ATTRIBUTE with default value
0 to all these methods so that we can modify objects' security
attributes when needed. Thanks to Ivan Murphy for pointing this
out.
Mon Aug 18 19:50:13 1997 Carlos O'Ryan <coryan@mambo.cs.wustl.edu>
* examples/Service_Configurator/Makefile:
* examples/Service_Configurator/IPC-tests/server/Makefile:
* apps/Gateway/Gateway/Makefile:
* examples/Connection/non_blocking/Makefile:
$(SOEXT) must be used instead of just .so, the former does not
work on all platforms, notably HP-UX. Thanks to Cary Clark
<claca@iccokc.com> for helping in this effort.
Mon Aug 18 19:46:27 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* ace/OS.i:
Added support for the missing netdb reentrant functions, even
under IRIX 6.2 with no threads. Thanks Paul Roman
<proman@npac.syr.edu> for reporting this.
Mon Aug 18 12:53:16 1997 David Levine <levine@merengue.cs.wustl.edu>
* tests/Barrier_Test.cpp (tester): VxWorks doesn't support
thr_join(). Therefore, we need to work around it for now.
Maybe Wind River will fix it at some point.
Mon Aug 18 12:38:52 1997 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.2.x.h: Removed ACE_HAS_SVR4_TIME, added
ACE_LACKS_TIMESPEC_T.
Mon Aug 18 12:00:31 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* ace/config-mvs.h:
MVS does not define timespec_t either. Thanks to Chuck
Gehr for reporting this.
Mon Aug 18 10:41:05 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* ace/OS.h:
* ace/README:
On some platforms timespec_t is not defined. We added a new
config macro (ACE_LACKS_TIMESPEC_T) to handle that and we do a
typedef to solve the problem.
* ace/config-freebsd-pthread.h:
* ace/config-freebsd.h:
* ace/config-linux-lxpthreads.h:
* ace/config-linux-pthread.h:
* ace/config-linux.h:
These are *some* config files that needed changes due to the new
timespec_t stuff.
Mon Aug 18 09:34:11 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (ACE_Thread_Adapter): rearranged initializers to
match declaration order.
* ace/Log_Record.h: declare "class ostream" if
ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION Log_Record.h.
* ace/IOStream.h,Log_Msg.cpp,Log_Record.cpp,
tests/test_config.h: include iostream.h instead of ace/stdcpp.h
if ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
* ace/config-vxworks*.h: added ACE_LACKS_TIMESPEC_T.
Sun Aug 17 20:58:56 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.41, released Sun Aug 17 20:58:56 1997.
Sun Aug 17 17:02:53 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* ace/config-irix6.x-sgic++-nothreads.h:
* ace/config-irix6.x-sgic++.h:
* include/makeinclude/platform_irix6.x-sgic++.GNU:
Finally a single config.h and platform_macros.GNU file can be use
for all the IRIX 6.X versions.
On SGI machines we need a higher value for
ACE_DEFAULT_BASE_ADDR, we used 1024*1024*1024, which works on
our site, but your mileage may vary.
* include/makeinclude/platform_irix6.2_sgic++.GNU:
* include/makeinclude/platform_irix6.4_sgic++.GNU:
* ace/config-irix6.2-sgic++-nothreads.h:
* ace/config-irix6.2-sgic++.h:
* ace/config-irix6.4-sgic++-nothreads.h:
* ace/config-irix6.4-sgic++.h:
These files are no longer needed, see above.
* ace/README:
* ace/ACE.cpp:
* ace/OS.h:
* ace/OS.i:
* ace/Profile_Timer.cpp:
* ace/Profile_Timer.h:
We no longer use timestruct_t in ACE, it is a SYSVism; we use
timespec_t instead. Hence we have no need for the config
macro ACE_HAS_SVR4_TIME, but we keep it there for future
reference.
* tests/Reader_Writer_Test.cpp:
On IRIX using ACE_Thread::yield() degraded performance for
multiprocessor machines, but worse, the test will not behave as
expected: instead of interleaving read/write locks over the
RW_Mutex it will make all the write locks first and then the read
locks. The test uses ACE_OS::sleep() for yielding the CPU,
and it uses different pauses for each thread (see code for
details). Further, it yields the CPU *before* taking the
lock, to give other threads a chance.
Sat Aug 16 18:17:10 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.40, released Sat Aug 16 18:17:10 1997.
Sat Aug 16 18:13:22 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ReactorEx.cpp (add_network_events_i): Revised the code to
use the ACE_BIT_CMP_MASK and ACE_SET_BITS macros to simplify the
code.
* ace/OS.h: Added a new macro called ACE_BIT_CMP_MASK which checks
if a "bit-wise" & with a word == a particular mask.
* ace/OS.cpp (thr_create): If we're in the Pthreads implementation
then we assume that ACE_thread_t and ACE_hthread_t are the same.
If this *isn't* correct on some platform, please let us know.
Thanks to Carlos O'Ryan <coryan@cs.wustl.edu>.
* ace/Auto_Ptr.cpp: Reverted the changes of ACE_Auto_Ptr to
auto_ptr since we want to be Standard C++ Library compliant.
However, we only define auto_ptr if ACE_HAS_STANDARD_CPP_LIBRARY
is *not* enabled.
* Removed the INSTALL file since this is redundant with the HTML
version of this file (ACE-INSTALL.html). Thanks to David Levine
for doing the legwork to merge this.
Sat Aug 16 15:11:24 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Auto_Ptr.h: Put in an #include <memory> (for auto_ptr) if
the standard C++ library is being used.
* ace/Auto_Ptr.*: Changed the checks for ACE_HAS_STANDARD_CPP_LIBRARY
to also check to see if it is defined to 0 (which means the same
as it not being defined).
* ace/ReactorEx.cpp: Changed the use of auto_ptr to work with
the one in the Standard C++ library.
* ace/config-win32-common.h: Added ACE_HAS_BROKEN_NESTED_TEMPLATES
and ACE_LACKS_STL_DEFAULT_TEMPLATE_PARAMETER for the MSVC versions
that need them.
* ace/Registry.cpp: changed some variable names from iterator to
iter to prevent conflicts with another variable
* ace/Registry.cpp:
STL/bstring.h:
Changed references of NPOS to Istring::npos
Sat Aug 16 14:17:07 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* ace/Auto_Ptr.i:
* ace/Auto_Ptr.cpp:
Some code was only included if ACE_HAS_STANDARD_CPP_LIBRARY was
defined; but the intention was exactly the opposite.
Sat Aug 16 14:33:26 1997 David L. Levine <levine@cs.wustl.edu>
* README,FAQ,Makefile: changed references from INSTALL file
to ACE-INSTALL.html.
Fri Aug 15 19:51:52 1997 <irfan@TWOSTEP>
* ace/Auto_Ptr.h: A rarely used piece of ACE code has changed
names because of name conflicts with the Microsoft Standard C++
Library. The change is from auto_ptr to ACE_Auto_Ptr. A perl
script ($ACE_ROOT/bin/auto_ptr.perl) is provided for users to
change their code accordingly.
The following files were effected:
ace: ACE.cpp Auto_Ptr.cpp Auto_Ptr.h Auto_Ptr.i OS.h
ReactorEx.cpp Service_Config.cpp Service_Object.h
examples/Threads: future1.cpp future2.cpp test_future1.cpp
test_future2.cpp
tests: Future_Test.cpp
Fri Aug 15 17:41:28 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.39, released Fri Aug 15 17:41:28 1997.
Fri Aug 15 13:33:04 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.h (ACE_DEFAULT_GLOBALNAME_W): Moved pathname delimiter
from ACE_DEFAULT_{LOCAL|GLOBAL}NAME_* to
ACE_DEFUALT_NAMESPACE_DIR on NT. We need to append local/global
name to get a unique mutex name for naming service. NT won't
let us put a backslash in lock name. ;(
Fri Aug 15 14:50:26 1997 Steve Huston <shuston@riverace.com>
* ace/Makefile: Moved ARGV from the TEMPLATES section to the FILES
section; now builds on AIX.
* ace/config-hpux-10.x.h: Don't redefine _HPUX_SOURCE. Move the
ACE_HAS_REENTRANT_FUNCTIONS and ACE_CTIME_R_RETURNS_INT to the
build-with-threads section. Thanks to Neil Cohen <nbc@metsci.com>
for helping to flush these problems out.
* tests/Makefile: If building on AIX, wipe out the tempinc directory
before each compilation to keep the driver from compiling all
prior programs' template instantiations in every link step.
Fri Aug 15 13:07:26 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Signal.cpp (remove_handler): Added some additional
parameters to ACE_Sig_Action usages in order to get this stuff
to compile with G++ on SunOS 4.1.4. Thanks to Kumar Neelakantan
<kneelaka@PaineWebber.COM> for reporting this.
* ACE version 4.2.38, released Thu Aug 14 23:07:26 1997.
Fri Aug 15 13:33:04 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Naming_Context.cpp (ACE_Naming_Context): Moved the deletion
of name_options_ from close to dtor of this class so that we can
reconfigure the naming context.
Fri Aug 15 10:28:14 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.cpp: Changed uname() for Win32 so it returns information
for Windows 95 and NT.
Thu Aug 14 18:06:37 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/OS.[hi] (strsplit_r): Added a new method which splits a
string separated by tokens, similar to the way that perl's
split() works. This is different from the strtok() family b/c
for the string ":/foo:/bar::boo", strtok() would return "/foo",
"/bar", "boo", while strsplit_r() returns "", "/foo", "/bar",
"", "boo". This method is also properly re-entrant, and thus
safe to use among multiple threads.
* ace/ACE.cpp (ldfind): Fixed this so that it now properly deals
with paths containing empty components intended to indicate
'current directory'.
Thu Aug 14 17:30:36 1997 Steve Huston <shuston@riverace.com>
* ace/config-hpux-10.x.h - Add ACE_LACKS_CONST_STRBUF_PTR, remove
ACE_HAS_POSIX_SEM, clarify comments regarding setting of
_CMA_NOWRAPPERS_ - thanks to Cary Clark <claca@iccokc.com> for
helping in this effort.
Thu Aug 14 16:14:47 1997 David L. Levine <levine@cs.wustl.edu>
* ace/High_Res_Timer.cpp (print_ave,print_total): fixed format
specification for total_secs to be lu instead of lld.
Thu Aug 14 14:06:37 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/ARGV.cpp: Completed the explicit template instantiations for
this component.
Thu Aug 14 11:27:03 1997 Edward Everett Anderson <eea1@polka.cs.wustl.edu>
* ace/ARGV.* (argv):
* Added another behavior to ACE_ARGV -- a user can iteratively
build the parameter set with add(). Made the class more
consistent so that accessors work no matter which constructor is
used.
Thu Aug 14 10:14:37 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* Made several changes to allow ACE to work with the new standard
C++ header files, such as <cstdio> and the built in STL. Thanks
to Matthias Kerkhoff <make@cs.tu-berlin.de> for these changes.
The default is to use the old headers, unless the
ACE_HAS_STANDARD_CPP_LIBRARY is defined as 1.
* ace/config-win32-common.h:
ace/config-win32.h:
- Added ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB flag to
distinguish compilers who have the standard C++ library
declared in the namespace std and those who use the global
namespace for it
- Enabled ACE_HAS_SIG_ATOMIC_T and ACE_HAS_TYPENAME_KEYWORD for
MSVC 5
- Changed the semantics of ACE_HAS_STANDARD_CPP_LIBRARY from
[defined/undefined] to [(undefined or defined as 0)/defined != 0]
to allow the choice between the old iostream and standard C++
library for those platforms that support both
- Don't define the ACE_LACKS_IOSTREAM_FX when building with MSVC
5.0 and the standard C++ library.
- If __ACE_INLINE__ is defined as 0, config-win32-common.h
undefines __ACE_INLINE__ to decrease the size of libraries and
executables.
* ace/IOStream.cpp: Moved the #ifdef ACE_LACKS_ACE_IOSTREAM up to the
proper place
* ace/IOStream.h:
ace/IOStream_T.h:
ace/Log_Msg.cpp:
ace/Log_Msg.h:
ace/Log_Record.cpp:
ace/Log_Record.h:
examples/ASX/Message_Queue/*.dsp:
examples/OS/Process/*.dsp:
examples/Threads/*.dsp:
examples/Threads/barrier2.cpp:
examples/Threads/task_three.cpp:
netsvcs/lib/Logging_Strategy.cpp:
Updated to including stdcpp.h instead of <iostream.h>,
<iomanip.h>, <fstream.h>, etc.
* ace/OS.h: Updated to use stdcpp.h instead of including the
normal C headers. Moved the includes into stdcpp.h to allow
switching between the old and new versions
* ace/Registry.h: Changed to use the standard C++ headers for STL
and added a typedef Name_Component and Binding to
ACE_Registry::* to help some unresolved problems.
* tests/Hash_Map_Manager_Test.cpp:
tests/test_config.h:
Updated to #include ace/stdcpp.h instead of <iostream.h> and
<fstream.h>
* ace/stdcpp.h: Updated to include more of the new standard C++
header files, and also promote some of the iostream classes to
the global namespace.
* ace/ace.dsp:
- Added some folders like Templates and Documentation
- Added some files that were missing to the project
- Enabled function level linking for debug projects
- Set it to "Not using MFC"
- Removed wsock32.lib from the project settings (since
config-win32-common.h will tell the linker to use the correct
winsock library)
- Removed some other unnecessary libraries (OLE) from the
project.
Wed Aug 13 23:02:45 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.37, released Wed Aug 13 23:02:45 1997.
Wed Aug 13 13:26:27 1997 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* tests/Barrier_Test.cpp (main): Fixed the test of the ACE_Barrier
class so that it doesn't leak handles. This also illustrates
the use of the ACE_Thread::join() and
ACE_Thread_Manager::spawn_n() methods. Thanks to Ivan Murphy
for pointing this out.
* ace/Thread_Manager.cpp (spawn_n): Note that if we get a null
thread_ids parameter we shouldn't try to index into it!
* include/makeinclude/rules.local.GNU (OBJDIRS): Added
so_locations to the list of directories cleaned up during a make
clean/realclean. Thanks to Amos Shapira for reporting this.
* ACE version 4.2.36, released Wed Aug 13 07:30:10 1997.
* include/makeinclude/platform_irix6.[x-]32_sgic++.GNU: Added a
-Wl,-woff,133 to LDFLAGS to make the linker shutup about branch
instructions that might degrade performance
(what does this mean?). Thanks to Amos for this.
* tests/test_config.h: Fixed a typo (ourput_file() should be
output_file()). How on earth did this ever work?! Thanks to
Amos Shapira for reporting this.
* ace/Message_Queue.cpp: Added a couple of new ACE_UNUSED_ARGs
Thanks to Amos Shapira for reporting this.
* ace/OS.cpp (gethrtime): ACE_OS::gethrtime should cast its return
value to ACE_hrtime_t instead of (u_long long). Thanks to
Amos Shapira for reporting this.
Wed Aug 13 14:51:47 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/SString.[i,cpp]: moved some inline methods from the .i into
the .cpp so the Win32 Unicode Release compiles with inlining.
Wed Aug 13 01:14:08 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tests/test_config.h (ACE_NEW_THREAD): Removed
ACE_Log_Msg::set_flags/clr_flags from this macro because
ACE_Log_Msg::flags is a static variable. We really don't need
to reset them when creating new threads. Once VxWorks can also
inherit ACE_Log_Msg's properties, we no longer need this macro.
* ace/Log_Msg.h: Added trace_depth() functions. They are required
for inheriting ACE_Log_Msg's properties.
* ace/OS.cpp: Changed ACE_Thread_Adapter implementation so that
newly created threads will inherit properties from their parent
threads. This is the default behavior and is valid on all
platform except VxWorks. If you don't want it and would like to
arrange the properties propagation yourself, you must define
ACE_THREADS_DONT_INHERIT_LOG_MSG in your ace/config.h file. Now,
creating a new thread will go thru ace_thread_adapter on all
platform except VxWorks. If ACE_THREADS_DONT_INHERIT_LOG_MSG is
defined but your platform defines ACE_HAS_THR_C_FUNC or
ACE_WIN32, creating new threads still need to use
ace_thread_adapter. This change also fixes a previous problem
which let threads access another thread's TSS.
Tue Aug 12 21:57:30 1997 David L. Levine <levine@cs.wustl.edu>
* etc/ACE-guidelines.html: added.
Tue Aug 12 16:54:33 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Added Chuck Gehr's explanation of how to build ACE for MVS to
the ACE-INSTALL.html file at http://www.cs.wustl.edu/~schmidt/.
* ace/OS.i: changed the name of ACE_U_LongLong::dump() to
ACE_U_LongLong::output(). Also moved some of the code that was
inlined in the class definition into the *.i file.
* netsvcs/lib/Server_Logging_Handler.cpp: Added a template
specialization for ACE_Atomic_Op<ACE_Thread_Mutex, u_long> to
make things link with SGI and other systems that have long
different than int. Thanks to Amos Shapira for reporting this.
* ace/Reactor.cpp (close): Removed the #ifdefs around
notify_handler_.open () and notify_handler_.close() since this
is now supposed to be available on all build configurations.
Thansk to Stefan Ericsson for reporting this.
* examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.cpp:
Removed a static variable that seemed to be causing problems for
SGI C++. Also, removed the now unnecessary "inherited" from
Handle_Thr_Acceptor.
* examples/ASX/UPIPE_Event_Server/Peer_Router.h,
* netsvcs/lib/Log_Message_Receiver.h: Added an
ACE_UNIMPLEMENTED_FUNC macro for the assignment operator to work
around silly "features" of SGI C++...
* include/makeinclude/platform_irix6.[x-]32_sgic++.GNU: Added some
additional patches to suppress warning code. Thanks to Torbjorn
Lindgren <tl@funcom.no> for this fix.
* include/makeinclude/platform_mvs.GNU: Changed all occurrences of
"MVSLIB" to "ACELIB". Thanks to Chuck Gehr for reporting this.
Tue Aug 12 15:03:42 1997 Steve Huston <shuston@riverace.com>
* ace/Timer_Hash_T.cpp, Timer_Wheel_T.cpp: Replaced references to
ACE_High_Res_Timer::gettimeofday with ACE_OS::gettimeofday.
The High Res version is deprecated, and doesn't work correctly
on HP-UX.
Tue Aug 12 07:51:02 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.35, released Tue Aug 12 07:51:02 1997.
Mon Aug 11 22:30:39 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_ghs.GNU: disabled
automatic template instantiation, because we use explicit
template instantiation, via a #pragma, with Green Hills.
Thanks to Brian Mendel <brian.r.mendel@boeing.com> for
finding the compiler options.
Mon Aug 11 17:45:44 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.cpp (ace_thread_adapter): Changed the code so that TSS
ACE_Log_Msg will get created and put into cleanup stack first no
matter there is other ACE_Log_Msg instances or not. This fixed
the "order of destruction" problem on Win32 platform. Thanks to
Irfan for digging this out and helping solving it.
Mon Aug 11 07:25:29 1997 <irfan@TWOSTEP>
* examples/Reactor/ReactorEx/test_reactorEx.cpp: Updated this
example to use the new Proactor and Asynch IO interfaces.
* ace/Connector.cpp (activate_svc_handler): Fixed the "leak" of
svc_handler in case of error. Thanks to Wei Chiang
<chiang@tele.nokia.fi> for reporting this.
Mon Aug 11 01:11:26 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.34, released Mon Aug 11 01:11:26 1997.
Mon Aug 11 01:06:02 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Queue.cpp (enqueue_tail_i): Inadvertantly
added "signal_dequeue_waiters()" where I meant
"signal_enqueue_waiters()."
* include/makeinclude/wrapper_macros.GNU: Fixed a typo in the
wrapper_macros.GNU file that was causing link errors.
Sun Aug 10 11:35:06 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Queue.cpp: To make sure that we have correctly
signaled waiters the signal_enqueue_waiters() and
signal_dequeue_waiters() methods now check the return value from
the semaphore release if ACE_HAS_OPTIMIZED_MESSAGE_QUEUE is
enabled.
* include/makeinclude/wrapper_macros.GNU (VLDLIBS): Added a
new macro called ACELIB that can be used to make it easier
to enable static linking for ACE, i.e.:
ACELIB = -Bstatic -lACE -Bdynamic
or
ACELIB = $(ACE_ROOT)/ace/libACE.a
Can be added to the individual platform_macros.GNU file. This
allowed us to remove special code for MVS in wrapper_macros.GNU.
Thanks to Chuck Gehr for this fix.
* netsvcs/lib: Added some comments after the #endifs.
* ace/Filecache.cpp (insert_i): Updated the code so that we use
ACE_NEW_RETURN rather than operator new. This macro will
protect against failed allocations.
Sat Aug 9 22:08:50 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace: Added two new config files:
config-irix6.x-sgic++.h
config-irix6.x-sgic++-nothreads.h
This should hopefully consolidate the SGI platform
configuration. Thanks to Torbjorn Lindgren <tl@funcom.no> for
this fix.
* include/makeinclude: Added two new platform macro files:
platform_irix6.x-n32_sgic++.GNU:
platform_irix6.x-32_sgic++.GNU
This should hopefully consolidate the SGI platform macros.
Thanks to Torbjorn Lindgren <tl@funcom.no> for this fix.
* ace/Filecache.cpp: Fixed the syntax of the SGI pragma stuff.
Thanks to Torbjorn Lindgren <tl@funcom.no> for reporting this.
* ace/Name_Request_Reply.h: Changed MAX_NAME_LEN to MAX_NAME_LENGTH
to avoid problems with Solaris 2.6. Thanks to Thanh Ma <tma@encore.com>
for reporting this.
Sat Aug 9 12:10:35 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/config-win32-common.h (ACE_HAS_WINSOCK2):
* ace/config-win32.h (ACE_HAS_WINSOCK2): Rearranged definition of
this so that users can overwrite the default setting and choose
older Winsock if they want. No action needed for most NT
useres. Thanks to jmorey@tbi.com (John Morey) for pointing this
out.
Sat Aug 09 11:28:36 1997 Steve Huston <shuston@riverace.com>
* ace/Profile_Timer.i: ACE_HAS_GETRUSAGE and !ACE_HAS_PRUSAGE
platforms now use ACE_OS::gettimeofday rather than
ACE_High_Res_Timer::gettimeofday in start() and stop() methods.
* tests/Sigset_Ops_Test.cpp: adjusted test for sigismember() with
out-of-range signum to separately test return value and errno.
Also, returns non-zero from program on failed test.
Fri Aug 08 17:39:43 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.33, released Fri Aug 08 17:39:43 1997.
Fri Aug 08 02:50:31 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ace/Message_Queue: Factored out the code that differs depending
on whether we are using the optimized ACE_Message_Queue
implementation (i.e., VxWorks and NT). This change makes it
easier to maintain the code. Thanks to Darrell for helping with
this.
* ace/Log_Msg.cpp (close): Fixed a couple of typos in this code,
in particular, we need to make sure that we don't call
ACE_Log_Msg_Manager::close() if we aren't multi-threaded.
* ACE version 4.2.32, released Fri Aug 08 02:50:31 1997.
Fri Aug 8 13:17:21 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/OS.* (strtoul): Added the OS function strtoul() to turn
strings into unsigned longs.
Fri Aug 8 12:26:54 1997 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.cpp: Fixed some comments and removed unused code
I erroneously added August 6.
* ace/config-hpux-10.x.h: Fixed to not always compile tracing code.
* tests/test_config.h: ACE_END_TEST and ACE_END_LOG macros direct
log output back to stderr when shutting off the file output.
* tests/TSS_Test.cpp: Removed ACE_Thread_Control object from the main
thread - it served no purpose and didn't work on HP-UX (due to
a documented pthread_exit restriction). Also changed a 'delete
ptr' to a call on operator delete (void *).
Fri Aug 8 09:17:21 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/Service_Repository.h (operations.): Improved documentation
on find().
Fri Aug 8 00:01:43 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Log_Msg.cpp (close): Moved ACE_Log_Msg::close() out of
ACE_MT_SAFE block so it always exists. This function only takes
care of non-VxWorks platforms.
(instance): Removed at_exit() call since the instances will be
taken of by TSS_Cleanup.
* ace/Object_Manager.cpp (~ACE_Object_Manager): Removed condition
compilation so it always calls ACE_Log_Msg::close().
Thu Aug 7 23:36:26 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Reactor.h: Added the renew() method and the notify_handler_
data member to all compilation cases, not just for
multi-threading.
* ace/Service_Config.h: Clarified the fact that argv[0] is the
program name. Thanks to Chris Cleeland for pointing this out.
* ace/config-mvs.h: Added the ACE_HAS_TEMPLATE_SPECIALIZATION flag
thanks to Chuck Gehr.
* include/makeinclude/platform_irix6.2_sgic++.GNU: Turned on
exceptions and turned off implicit template instantiation.
Thanks to Amos Shapira <amos@gezernet.co.il> for reporting the
former.
* ace/config-irix6.2-sgic++.h: Also added the
ACE_HAS_TEMPLATE_SPECIALIZATION flag and changed the
platform_irix6.2.GNU file to not implicitly initialize
templates. If this breaks something, please let me know.
* ace/config-irix6.2-sgic++.h: Added the ACE_HAS_EXCEPTIONS flag.
Thanks to Amos Shapira <amos@gezernet.co.il> for reporting this.
However, there is some question as to whether this will work.
If it doesn't, please let me know.
* ace/Reactor: Moved the ACE_Reactory_Notify class out from the
ACE_MT_SAFE section into the main code since this should work
for non-threaded builds, as well. Thanks to Stefan Ericsson
<uabsjen@osd.ericsson.se> for reporting this.
* ace/config-chorus.h: Added the ACE_HAS_TEMPLATE_SPECIALIZATION
flag. Thanks to Wei Chiang for this.
Thu Aug 7 19:09:35 1997 Steve Huston <shuston@riverace.com>
* tests/Hash_Map_Manager_Test.cpp - split definition of Dumb_String
class to a new header, Hash_Map_Manager_Test.h. This makes AIX
C Set ++ happy.
* tests/Process_Strategy_Test.cpp - split definitions of Options
and Counting_Service classes to Process_Strategy_Test.h for AIX
C Set ++'s benefit.
Thu Aug 7 15:27:28 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.h: Fixed typo in the definition of ACE_SYNCH_1 and
ACE_SYNCH_2 for ACE_HAS_OPTIMIZED_MESSAGE_QUEUE
Thu Aug 7 13:05:20 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/Strategies_T.h: Changed the argument to ACE_DLL_Strategy
from ACE_Service_Config to ACE_Service_Repository, which is more
concrete.
* bin/g++dep (REL): Added sed rule so that TAO's dependencies are
set relative to $TAO_ROOT as well as $ACE_ROOT when the '-r'
option is utilized.
* include/makeinclude/platform_linux_lxpthread.GNU (CCFLAGS): The
-Wall option can now be used. It only generates two warnings
throughout all of ACE!
* include/makeinclude/rules.local.GNU (depend.local): Modified
this target so that TAO's dependencies are set relative to
$TAO_ROOT as well as $ACE_ROOT.
Thu Aug 7 12:03:48 1997 James C Hu <jxh@lambada.cs.wustl.edu>
* ace/Filecache.{h,cpp}: Fixed unused variable found by Amos
Shapira. Fixed TEMPLATE_SPECIALIZATION dependency, sort of. Do
not attempt to use Filecache if you do not support
TEMPLATE_SPECIALIZATION.
Thu Aug 07 00:19:12 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.31, released Thu Aug 07 00:19:12 1997.
Wed Aug 6 22:20:54 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch_T.h: Replaced all uses of ACE_Null_Condition_Mutex
with ACE_Null_Condition, which is much more straightforward...
* ASNMP: Added Mike MacFaden's changes for IRIX.
Wed Aug 6 16:37:51 1997 James C Hu <jxh@lambada.cs.wustl.edu>
* ace/Hash_Map_Manager.cpp: Changed implementation back to use a
single sentinel_ rather than an array of them.
* ace/Filecache.{h,cpp}: Total re-implementations. Fewer locks
acquired and released when there is a cache hit.
Wed Aug 06 12:55:26 1997 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.(h cpp):
(ACE_Log_Msg_Manager) - Removed most of the non-VxWorks
pieces - there's just a lock left; the instances_ was removed
(ACE_Log_Msg) - Use ACE_Object_Manager to remove per-thread
instances of ACE_Log_Msg rather than using ACE_Log_Msg_Manager.
The use of an ACE_Unbounded_Set to hold the ACE_Log_Msg pointers
in previous versions caused some non-tail recursion problems when
tracing was enabled.
Uses an instance count to know when it's safe to free the dynamically
allocated class-static memory.
* ace/Trace.(h cpp): Added new static member function:
int is_tracing(void) - returns 1 if tracing is enabled, else 0.
* ace/Object_Manager.(h cpp): Added a flag to indicate the object is
being destroyed - during destruction, ACE_Object_Manager now refuses
to register any new memory pointers. Also turns tracing off during
destruction - ACE_Log_Msg makes use of ACE_Object_Manager, so we
don't want ACE_Log_Msg instance being deleted, then created for a
ACE_TRACE, then deleted, then created,...
Wed Aug 06 03:35:41 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.30, released Wed Aug 06 03:35:41 1997.
Wed Aug 6 00:13:27 1997 Nanbor Wang <nw1@dingo.wolfpack.cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler.cpp: We only need to
instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH> when
ACE_HAS_THREADS. Otherwise, we'll have duplicate symbols
defined on platforms that do not support threads.
Tue Aug 5 19:52:36 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Containers: Added a new reset method for ACE_Unbounded_Set.
Thanks to Arturo Montes <mitosys@colomsat.net.co> for
reporting this.
* ace: Changed most uses of ACE_LACKS_COND_T to
ACE_HAS_OPTIMIZED_MESSAGE_QUEUE to make it possible to toggle
between the emulated condition variable implementation of
ACE_Message_Queue and the semaphore implementation. We need
this until we fully test out the semaphore implementation of
ACE_Message_Queue.
* ace/Object_Manager.cpp (ACE_Object_Manager): Only call the
ACE_Log_Msg::close() method if ACE_MT_SAFE is enabled! Thanks
to Satoshi Ueno <satoshi.ueno@gs.com> for reporting this.
* ace/Malloc.h: Added a fix for misalignment of data in the
ACE_CONTROL_BLOCK_ALIGN_LONGS macro. Thanks to Fred LaBar
<flabar@fallschurch.esys.com> for this fix.
* ace/ACE.cpp: (enter_recv_timedwait,enter_send_timedwait): Always
give val a default value of 0 to make Purify happy. Thanks to
David Levine for reporting this.
* netsvcs/clients/Tokens/rw_lock/rw_locks.cpp,
netsvcs/clients/Tokens/manual/manual.cpp,
netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp:
Removed unreachable statements. Thanks to Cherif Sleiman
<sleiman@research.moore.com> for reporting this deficiency and
testing the fix.
Tue Aug 5 16:41:06 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Synch_T.h: Added some more ACE_LACKS_COND_T changes for compilers
without template typdefs.
Tue Aug 5 11:50:43 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Message_Queue.h: Fixed typos for the case when
ACE_LACKS_COND_T.
Tue Aug 05 11:02:11 1997 <irfan@TWOSTEP>
* tests/Atomic_Op_Test.cpp (main): Made sure that on platforms
without threads, we don't try to run this test.
Tue Aug 05 09:15:40 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_ghs.GNU: removed
-no_prelink from LDFLAGS because ghs 1.8.8 doesn't support it.
Thanks to Cherif Sleiman <sleiman@research.moore.com> for
reporting this.
* ace/Service_Record.cpp: added #include "ace/Stream_Modules.h"
to support template instantiation on GreenHills, at least.
Thanks to Cherif Sleiman <sleiman@research.moore.com> for
reporting this deficiency and testing the fix.
* ace/config-vxworks-ghs-1.8.h: added
ACE_LACKS_LINEBUFFERED_STREAMBUF. Thanks to Cherif Sleiman
<sleiman@research.moore.com> for reporting this.
Mon Aug 4 22:47:54 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Queue: Fixed consistency problems in naming notfull
vs. not_full. Thanks to David Levine for finding this.
* ace/Message_Queue: Added specialized support for cases where
ACE_LACKS_COND_T (e.g., VxWorks and NT). This scheme uses
ACE_Thread_Semaphores in this case, which should be more
efficient).
* ace/Synch_T.h: Added a new set of macros and typedefs for
ACE_SYNCH_SEMAPHORE.
* examples/ASX/Message_Queue: Cleaned up all the Message_Queue
examples.
* examples/ASX/Message_Queue/buffer_stream.cpp: Added a
NUL-terminator to the program so that it won't break. Thanks to
Darrell for finding this.
* ace/Reactor.cpp (wait_for_multiple_events): Fixed some
stylistic problems in the Reactor.
* ace/Synch.cpp (ace_static_object_lock_atexit): Changed from:
extern "C" static void
to:
extern "C" void
Thanks to Chuck Gehr <gehr@sweng.stortek.com> for this.
Mon Aug 4 14:03:22 1997 Steve Huston <shuston@riverace.com>
* tests/Enum_Interfaces_Test.cpp: return non-zero if test fails.
Mon Aug 4 12:03:29 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/Semaphore_Test: Redid to test timed waits in a more
reasonably fashion.
Mon Aug 4 11:43:09 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/OS: Continued to cleanup the problems with inconsistent
variants of sendmsg() and writev() on VxWorks. Thanks to Cherif
Sleiman <sleiman@research.moore.com> for reporting this.
* ace/OS.i (sema_wait): Fixed the implementation on NT so that
errno = ETIME.
* tests/Semaphore_Test.cpp: Cleaned up the programming style a
bit.
* ace/OS (writev): Removed the ACE_WRITEV_TYPE from the
ACE_OS::writev() method and instead put this as a cast on the
internal call to ::writev(). This is much cleaner and should
fix a bug introduced last night. Thanks Cherif Sleiman
<sleiman@research.moore.com> for reporting this.
* ace/Synch: Added a new release() method to ACE_Semaphore that
enables a caller to release multiple waiters. Thanks to Darrell
Brunsch <brunsch@cs.wustl.edu> for noticing this.
Mon Aug 4 12:03:29 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/Semaphore_Test: Redid to test timed waits in a more
reasonably fashion.
Sun Aug 03 23:47:13 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.29, released Sun Aug 03 23:47:13 1997.
Sun Aug 3 22:18:33 1997 Douglas C. Schmidt <schmidt@cumbia.cs.wustl.edu>
* tests/Atomic_Op_Test.cpp: Added template specialization so that
David won't have to ;-)
* ace/ACE: Added a new, complete set of send/recv operations with
timeouts. These implement the following methods:
read, readv, write, writev, recv, recvfrom, recvmsg, send, sendto, sendmsg.
The implementation provides two flavors: MIT pthread support, an
ACE portable support. To use MIT pthread support, you must to
define ACE_HAS_READ_TIMEDWAIT, ACE_HAS_READV_TIMEDWAIT,
ACE_HAS_WRITE_TIMEDWAIT, ACE_HAS_RECV_TIMEDWAIT,
ACE_HAS_RECVFROM_TIMEDWAIT, ACE_HAS_RECVMSG_TIMEDWAIT,
ACE_HAS_SEND_TIMEDWAIT, ACE_HAS_SENDTO_TIMEDWAIT and
ACE_HAS_SENDMSG_TIMEDWAIT respectively. See the config.h file
for SCO UNIX for an example.
This new approach is not only more powerful (since it takes
advantage of OS-level mechanisms when they exist), but it also
greatly improves the modularity of the code and provides a
wider range of supported functionality. Thanks to Arturo
Montes <mitosys@colomsat.net.co> for this new feature.
* ace/ACE.cpp: Added comments to the ACE_Object_Manager_Destroyer
class.
* ace/OS.h: Redid all the function prototypes for class ACE_OS so
that it's easier to read the arguments.
* ace/config-sco-5.0.0-mit-pthread.h: Added the new macros that
enable timed reads and writes. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for this new feature.
* ace: Added a corresponding #endif /* FOO */ for all #if defined
(FOO) in ACE.
* ace: Changed all uses of ACE_IOStream_T to ACE_IOStream to
be more consistent with other uses of templates in ACE.
Thanks to Thilo for reporting this (and thanks to David
for not being offended ;-)).
* ace/OS.i (operator/): Removed "const" from both the OS.h and
OS.i files for ACE_U_LongLong::operator/. It is redundant,
potentially confusing, and gives warnings on some compilers!
Sun Aug 03 21:20:12 1997 <irfan@TWOSTEP>
* tests/Atomic_Op_Test.cpp: Added new test to test the Atomic
Operations Class in ACE. On platforms like Win32, ACE uses
template specialization to use native implementations provided
by the OS to accelarate these operations.
* ace/config-win32-common.h (ACE_HAS_INTERLOCKED_EXCHANGEADD):
Added macro to config file. This macro is automatically set true
for NT4.0 systems or greater.
* ace/Atomic_Op.i: On Win32 platforms, this code will be included
as template source code and will not be inlined. Therefore, we
first turn off ACE_INLINE, set it to be nothing, include this
code, and then turn ACE_INLINE back to its original setting. All
this nonsense is necessary since the generic template code that
needs to be specialized cannot be inlined, else the compiler
will ignore the specialization code. Also, the specialization
code *must* be inlined or the compiler will ignore the
specializations.
The creation of this new file is necessary for non-Win32
platforms to continue to inline the code as before.
* ace/Synch_T.cpp: This file must include Atomic_Op.i if
ACE_INLINE has not be turned on. If it is, this file must be
included by Synch_T.h.
* ace/Synch.cpp: Moved the specialization code from Synch.cpp to
Atomic_Op.i. This is necessary, otherwise the compiler will
ignore the specialization.
Sun Aug 03 10:51:34 1997 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0*.h: added #define ACE_HAS_LONGLONG_T.
Thanks to Thilo for reporting that OSF1-4.0 does.
Sat Aug 02 23:51:19 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.28, released Sat Aug 02 23:51:19 1997.
* ace/TTY_IO.cpp (control): Fixed a bug when using 8 bits for
character due to ISTRIP flag setting for device. Thanks to
Arturo Montes <mitosys@colomsat.net.co> for reporting this bug.
* ACE-categories: Updated the list of ACE classes to reflect
recent changes.
* ASNMP: Added the new ACE+SNMP release courtesy of Mike
MacFaden <mrm@cisco.com>. This builds cleanly on Solaris,
but it looks like there are a bunch of non-portable features
that won't compile cleanly on all the other platforms.
Therefore, until Mike or others get this stuff fully portable,
it won't be build by default in the top-level ACE Makefile.
* ace/OS.h (class ACE_U_LongLong): Reformatted this a bit.
* ace/SV_Semaphore_Simple.i: Removed the #include of
SV_Semaphore_Simple.h since it seems unnecessary and is causing
problems for TAO.
* ace/IOStream_T.h (ACE_IOStream_T): Removed the unneeded ';' at
the end of the ACE_UNIMPLEMENTED_FUNC macros since this was
causing compiler errors.
Sat Aug 02 13:11:22 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Synch.cpp (ACE_Static_Object_Lock::instance): commented
out call to ::atexit () because it causes shutdown problems
on DEC CXX, HP/UX, and AIX. Many thanks to James Johnson
for tenaciously tracking this one down, to Thilo and Steve
for assisting, and to all who reported the problem.
* ace/Log_Msg.cpp (ACE_Log_Msg_Manager::open,close): neutered
on VxWorks, only, so that it will compile.
Fri Aug 1 21:33:18 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* netsvcs/lib/netsvcs.mak: Added post compilation command that
copies DLL to ace/ directory because netsvcs/main.exe must have
this file in search path.
* ace/Read_Buffer.cpp (ACE_Read_Buffer): Used ACE_OS::fdopen
instead of ::fdopen because it caused compilation error on NT.
Fri Aug 1 17:25:04 1997 Chris Cleeland <cleeland@swarm.cs.wustl.edu>
* include/makeinclude/platform_irix6.4_sgic++.GNU (CCFLAGS): Used
-ptnone and -no_prelink in order to get SGI to compile properly.
* ace/config-irix6.4-sgic++.h (ACE_HAS_EXCEPTIONS): Added
ACE_HAS_EXCEPTIONS to this config.
* ace/IOStream_T.h (ACE_IOStream_T): Wrapped send, recv, send_n,
and recv_n with the ACE_UNIMPLEMENTED_FUNC macro.
Fri Aug 1 17:08:32 1997 Nanbor Wang <nw1@waltz.cs.wustl.edu>
* ace/ace.mak: Put OS.cpp back into the makefile.
* ace/config-win32-common.h: Commented out checking of
ACE_HAS_WINSOCK2 when we are using NT 4.0 and above. The
original check prevented us from using winsock2.
* ace/Thread_Manager.cpp:
* ace/Service_Repository.cpp:
* ace/ReactorEx.cpp:
* ace/Reactor.cpp:
* ace/Proactor.cpp:
* ace/Malloc.cpp:
* ace/Synch.{h,cpp}: Changed the lock held by
ACE_Static_Object_Lock from ACE_Thread_Mutex to
ACE_Recurssive_Thread_Mutex.
* ace/Timer_Heap_T.cpp (ACE_Timer_Heap_T): Something was missing
here.....
Fri Aug 1 13:39:13 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/TTY_IO.cpp (control): Removed the special M_UNIX code for
SCO_OpenServer. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
* ace/Read_Buffer.cpp (ACE_Read_Buffer): Mistakenly used int
rather than ACE_HANDLE for one of the constructors in
ACE_Read_Buffer.
* ace/OS.cpp (readv): Fixed a braino that manifests itself on
Chorus because I put the ACE_READV_TYPE in the wrong place.
Thanks to Wei Chiang for reporting this.
Fri Aug 1 14:31:22 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/Timer_Queue_Test.cpp: removed casts from pointers to ints
(when a act was compared with a number) and instead used a cast
on the integer values. This gets rid of warnings on platforms
where the sizeof a pointer is larger than the sizeof an int.
Fri Aug 01 12:10:28 1997 <irfan@TWOSTEP>
* ace/Synch_T: Changed parameter passing for ACE_Atomic_Op from
const TYPE to const TYPE &.
* ace/Synch.cpp: These specializations have been added to
ACE_Atomic_Op to make the implementation faster on Win32 that
has OS support for doing this quickly through methods like
InterlockedIncrement and InterlockedDecrement.
* ace/SV_Semaphore_Complex.cpp (open): Fixed more compiler
warnings:
IOStream.cpp Naming_Context.cpp Read_Buffer.cpp
SV_Semaphore_Complex.cpp SV_Semaphore_Complex.i
Fri Aug 1 11:57:45 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/Containers.h (ACE_Fixed_Set): Eliminated declaration for
unnecessary ACE_Fixed_Set(size_t) CTOR.
* ace/OS.h: Simplified the typedef of ACE_hrtime_t so that it's an
unsigned long long whenever ACE_HAS_LONG_LONG_T is defined.
Fri Aug 01 10:12:26 1997 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0.h: added ACE_HAS_TEMPLATE_SPECIALIZATION.
Thanks to Thilo for verifying that this is supported with DEC CXX.
* ace/config-irix6.4-sgic++*.h: added ACE_TEMPLATES_REQUIRE_SOURCE
and ACE_REQUIRES_FUNC_DEFINITIONS.
* ace/OS.h,README: added ACE_REQUIRES_FUNC_DEFINITIONS support.
* ace/{Free_List.h,Remote_Tokens.h,Synch_T.h,Timer_*_T.h}:
wrapped unimplemented template class copy constructors and
assignment operators with ACE_UNIMPLEMENTED_FUNC.
* tests/Service_Config_Test.cpp: removed templates to avoid
problems with finicky compilers, and added check of destruction
ordering.
* include/makeinclude/platform_vxworks5.x_ghs.GNU: added
-no_prelink to LDFLAGS.
Fri Aug 01 00:14:46 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.27, released Fri Aug 01 00:14:46 1997.
Thu Jul 31 21:51:01 1997 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Msg.cpp (open): fixed memory leak.
Thu Jul 31 21:41:10 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Service_Config_Test.cpp (run_test): You won't shout as I...
* ace/Object_Manager.cpp (instance): ... fiddle about ;-)
Thu Jul 31 17:39:56 1997 <irfan@TWOSTEP>
* ace: The following files were modified to avoid the
"unreferenced formal parameter" and other warnings from the
compiler:
ACE.cpp Asynch_IO.cpp Asynch_IO.h INET_Addr.cpp OS.cpp OS.h OS.i
Proactor.cpp Reactor.cpp ReactorEx.cpp ReactorEx.i
SOCK_Dgram_Bcast.cpp Service_Config.cpp
Thu Jul 31 16:46:44 1997 David L. Levine <levine@cs.wustl.edu>
* ace/config*.h: replaced "ACE_REQUIRES_TEMPLATE_SPECIALIZATION"
with "ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION".
* ace/config-vxworks-ghs-1.8.h,config-irix6.4-sgic++*.h: added
ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA.
* all .cpp files that had "ACE_REQUIRES_TEMPLATE_SPECIALIZATION":
replaced with "ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION" and
added #pragma instantiate for Edision Design Group compilers,
e.g., SGI and Green Hills.
Thu Jul 31 16:25:33 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/Synch.i (acquire): Added the timed acquire() interface to
ACE_Semaphore.
Thu Jul 31 11:10:17 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/run_tests.bat: Redid this file completely making it
much smarter about running tests. Instead of just blindly
executing the tests, it checks the return values to see if
an error occured and also outputs relevant errors from the
log file if the test was unsuccessful.
It's a remarkable example of batch programming wizardry.
Thu Jul 31 10:39:04 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/INET_Addr.cpp: initialized error variable in
gethostname to stop warnings when inlining is on.
Thu Jul 31 09:46:50 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Timer_Heap_T.cpp: changed cancel(id) to check the timer
id to make sure it is in range (not negative and not larger
than the current size of the heap)
Thu Jul 31 07:32:26 1997 David L. Levine <levine@cs.wustl.edu>
* Malloc_T.{i,cpp},Timer_Queue_T.i: replaced LOCK with ACE_LOCK.
Thanks to Thilo for supplying patches.
* ace/config-sunos5.5-g++.h: #define ACE_MALLOC_ALIGN to be 8.
* ace/Object_Manager.*: renamed cleanup () to at_exit ().
* Log_Msg.{h,cpp},Object_Manager.cpp: let ACE_Object_Manager
clean up the global ACE_Log_Msg_Manager.
* Service_Config_Test.cpp: added test of
ACE_Object_Manager::at_exit ().
Wed Jul 30 20:30:25 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram.h: Added an = 0 to the flags parameter to recv().
Thanks to Michael MacFaden for pointing out the inconsistency.
* ace/OS.cpp (thr_create): Added support for the SCHED_IO policy,
which is supported by MIT Pthreads. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for this fix.
* ace/SOCK_Dgram.h: Added a comment to clarify how to delete the
elements of the iovec array. Thanks to Mike MacFaden for
clarifying this.
* ace/Reactor.h: Changed the comment for schedule_timer() to use
delta_timer rather than delay.
* ace/Connector: Updated the timer cancellation id to be long
rather than int.
* examples/Reactor/Misc/notification.cpp: Timers are now working
happily on Chorus, so we can revert the Chorus-specific patches.
Thanks to Wei Chiang for reporting this.
* ace/SOCK_Dgram.cpp (recv): The timed recv() method must return
-1 on a timeout to meet its documented specification. Thanks to
Joseph Cross <joseph.k.cross@lmco.com> for reporting this
problem.
* ace/OS.i (readv): Added a fix for Chorus, which has a different
readv() prototype than normal operating systems. Thanks to Wei
Chiang for reporting this.
Wed Jul 30 20:02:21 1997 James C Hu <jxh@lambada.cs.wustl.edu>
* ace/Hash_Map_Manager.{h,cpp}: changed the *_i methods to use
shared_find() method to ease template specialization efforts.
Also, added a new shared_find() method. Added a parameter to
each to allow the passing in of the calculated hash value.
Wed Jul 30 16:43:34 1997 <irfan@TWOSTEP>
* ace/config-win32-common.h: If _DEBUG is not set (that is, we are
building the Release version), we will turn on __ACE_INLINE__.
Thanks to Matthias Kerkhoff <make@cs.tu-berlin.de> for
suggesting this.
Wed Jul 30 06:53:30 1997 Matthias Kerkhoff <make@cs.tu-berlin.de>
* The use of the following configuration #defines in the entire
ACE distribution has been changed:
- ACE_HAS_WINNT4
- ACE_HAS_MFC
- ACE_HAS_STRICT
- ACE_MT_SAFE
- ACE_HAS_DLL
- ACE_HAS_SVC_DLL
- ACE_HAS_WINSOCK2
- ACE_HAS_ORBIX
- ACE_HAS_MT_ORBIX
In previous ACE-versions, code blocks depending on one of these
defines have been guarded by an #if defined(ACE_XXX_OPTION).
Therefore it has been necessary to define the default
configuration unconditionally in config-win32.h.
The #if statements in the source files have been changed to
#if defined(ACE_XXX_OPTION) && (ACE_XXX_OPTION != 0)
while the default configuration in config-win32.h will only be used,
if it has not been overridden from the compilers command line (i.e.) :
#if !defined(ACE_XXX_OPTION)
#define ACE_XXX_OPTION 1
#endif
Wed Jul 30 14:46:33 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Malloc.cpp:
* ace/Proactor.cpp:
* ace/ReactorEx.cpp:
* ace/Reactor.cpp:
* ace/Service_Repository.cpp:
* ace/Thread_Manager.cpp:
* ace/Synch.{h,cpp}: Changed ACE_Static_Object_Lock::get_lock ()
to instance () to emphasize that it's a singleton.
* ace/Containers.cpp: Fixed the problem caused by
ACE_Unbounded_Stacknotkeeping its size currectly. Thanks for
Matthias Kerkhoff <make@cs.tu-berlin.de> for sending us the
patch.
* ace/OS.cpp (exit): Corrected a bug in ACE_TSS_Cleanup::exit ().
It innocently uses default ctor to copy info_arr. And things
get out of hand when info_arr[] gets destructed. Thanks very
much for Matthias Kerkhoff <make@cs.tu-berlin.de> for digging
this out and sending us the patch.
Wed Jul 30 13:36:55 1997 David L. Levine <levine@cs.wustl.edu>
* ace/config-vxworks-ghs-1.8.h: added #ifdef ppc wrapper around
#define of ACE_HAS_POWERPC, because GreenHills #defines that.
* include/makeinclude/platform_vxworks5.x_ghs.GNU: replaced
indlib.o LIBS with newer ghsbltin.o and ghsmath.o.
* ace/OS.h: use the same ACE_UNUSED_ARG definition with ghs as
with other compilers.
* ace/Object_Manager.*: revised interface, but still in flux.
cleanup () should work for process-wide registration, but is
untested.
Wed Jul 30 11:13:57 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/config-linux*.h (ACE_HAS_LONGLONG_T): These configs
file incorrectly had ACE_HAS_LONGLONG rather than
ACE_HAS_LONGLONG_T.
* ace/OS.cpp (gethrtime): Added 'volatile' keyword to insure that
the automatic variables 'most' and 'least' don't get put into
registers. Putting this in stopped the SIGSEGV that was occurring
in Linux.
Wed Jul 30 06:53:30 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.26, released Wed Jul 30 06:53:30 1997.
Wed Jul 30 04:36:39 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Containers.{h,cpp}: Added back new parameterized allocation
strategy version. Finally.
* ace/Synch.cpp (atexit): Moved ACE_Allocator here because only
here, we can be sure that no other user defined memory
activities are going on. This is becoming even more
interesting now.... Perhaps we should move all
close_singleton's here?
* ace/Service_Config.cpp (close_singletons): Removed
ACE_Allocator::close_singleton () from this function because we
still need ACE_Allocator to "free" static objects' memory.
* ace/Synch.{h,cpp}: Added a new class ACE_Static_Object_Lock
which provides a lock when instantiating static objects.
* ace/Thread_Manager.cpp: Removed ace_thread_manager_lock_,
* ace/Service_Repository.cpp: Removed ace_service_repository_lock_,
* ace/ReactorEx.cpp: Removed ace_reactorex_lock_,
* ace/Reactor.cpp: Removed ace_reactor_lock_,
* ace/Proactor.cpp: Removed ace_proactor_lock_,
* ace/Malloc.cpp: Removed ace_malloc_lock_,
and replace them with a global single lock
ACE_Static_Object_Lock::get_lock ().
Tue Jul 29 16:25:48 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ace/OS.cpp (thr_create): Explicitly flagged 'stack' and 'size'
as unused arguments.
* ace/Memory_Pool.cpp (handle_signal): Explicitly flagged siginfo
as an unused argument, and moved the decl of offset into the
conditional block in which it's used.
* ace/OS.i (dlerror): Added explicit cast of the return value to
(char*) because on Linux dlerror() returns const char*, while on
Solaris it's char*.
* ace/config-linux-lxpthreads.h: Created new flag
ACE_LACKS_POSIX_PROTO_FOR_SOME_FUNCS that can be used when only
certain functions are missing POSIX prototypes. This eliminates
more warnings with -Wall
* ace/ACE.cpp (max_handles): Added return statement for the
RLIMIT_NOFILE case.
(count_interfaces): Removed unused variables.
Tue Jul 29 15:10:35 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.i: Changed sema_wait to take in a const ACE_Time_Value
Tue Jul 29 12:41:27 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* ace/config-sco-5.0.0-mit-pthread.h: Added the
ACE_LACKS_PWD_FUNCTIONS macro. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
Tue Jul 29 13:10:00 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Signal.h: Moved inclusion of "Containers.h" to the bottom of
this file so everything is defined properly before use.
Tue Jul 29 12:36:24 1997 <irfan@TWOSTEP>
* tests/Message_Queue_Test.cpp (main): Removed dynamic allocation
of the string array.
Tue Jul 29 12:15:49 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Proactor.cpp
* ace/Reactor.cpp:
* ace/ReactorEx.cpp: Changed the default Timer Queue to
Timer Heap instead of Timer List.
Tue Jul 29 07:59:04 1997 David L. Levine <levine@cs.wustl.edu>
* Makefile,TAO/Makefile: change mode of updated ChangeLog-*
file to 644 after updating it, when building a release
with TIMESTAMP enabled.
* ace/OS.cpp (sched_params): added some more initializations
to 0 to avoid Purify warnings about unitialized memory reads.
* ace/Object_Manager.cpp (~ACE_Object_Manager): removed unused
variable "i". Thanks to Amos Shapira <amos@gezernet.co.il>
for reporting this.
* ace/Service_Record.{h,i} Parse_Node.{h,cpp} (handle,open_handle):
removed "const" from ACE_SHLIB_HANDLE return value. Thanks
to the several people who noted compiler warnings from this.
* ace/Naming_Context.cpp: added delete of this->name_options_;
(dtor,fini): call this->close ().
* tests/IOStream_Test.cpp (client,server): use ACE_NEW_RETURN
instead of new.
Tue Jul 29 01:53:18 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/OS.h: Added two new macros ACE_NEW_MALLOC_RETURN and
ACE_NEW_MALLOC. Theses are similiar to ACE_ALLOCATOR_RETURN and
ACE_ALLOCATOR that allow memory allocation using user defined
functions. However, these two macros will call specified
constructor after memory is being allocated.
* ace/Containers.{h,cpp}: Decoupled memory allocation strategy for
ACE_Unbounded_Stack, ACE_Unbounded_Set, ACE_Unbounded_Queue.
Users can now specified their own memory allocation strategies
if needed. If not specified, the default ACE_Allocator will be
used.
Tue Jul 29 00:56:54 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.25, released Tue Jul 29 00:56:54 1997.
Mon Jul 28 16:23:26 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU: added missing
semicolon at end of last statement. Thanks to Amos
Shapira <amos@gezernet.co.il> for providing this fix.
* ace/OS.h (VxWorks only): only #include <stdarg.h> before
<vxWorks.h> for GreenHills. Thanks to Dave Moore
<dave.moore@gecm.com> for reporting a problem without this
fix with g++/VxWorks 5.3.1 for PowerPC target.
Also, commented out g++ string.h hack. It no longer appears
to be necessary.
* tests/README: added VxWorks 5.3.1 test status.
* tests/SPIPE_Test.cpp (main): fixed #ifdefs so that it compiles.
* ace/OS.i: (strtok_r): replaced NULL with 0. NULL is #defined
as (void *) 0 on VxWorks, so it causes compile warnings.
Thanks to Dave Mayerhoefer <davem@lynx.com> for reporting
this problem.
* ace/Object_Manager.{h,cpp},Makefile: added this class to
shutdown ACE library services, and reclaim their storage,
at program termination.
* ace/ACE.cpp: added hook to call ACE_Object_Manager destructor
in this file. It's in this file so that it's sure to be
linked in to executables that statically link libACE.a.
* ace/Service_Config.{h,cpp}: (close): delete ACE_STATIC_SVCS
instance, which is now saved in static_svcs_. Also, removed
LM_SHUTDOWN call, because the logger apparently gets shutdown
now with everything else (with ACE_Object_Manager).
* ace/Object_Manager.* (delete_at_exit,delete_array_at_exit):
made these (inline) static functions, with return values.
* tests/IOStream_Test.cpp (client,server): explicitly destroy
(and create) ACE_SOCK_IOStream instances, because they don't
get destroyed on Solaris. They're on the stack of separate
threads, so maybe the problem is related to not cleaning up
TSS on Solaris. Thanks to James CE Johnson <jcej@lads.com>
for some efficient debugging work, and for verifying that the
original code works properly on Linux.
Mon Jul 28 21:59:09 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/ace.mak: Added file Object_Manager.cpp.
* ace/OS.h: Added #define RTLD_LAZY when
ACE_HAS_SVR4_DYNAMIC_LINKING and RTLD_LAZY is not defined.
FreeBSD 2.2.1 "forgot" to put in this definition. Thanks to
Satoshi Ueno for reporting this.
Mon Jul 28 13:27:21 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Object_Manager: Made a few minor stylistic updates.
* netsvcs/servers/main.cpp (main): Updated this test program to
utilize the new ACE_Service_Object_Ptr class.
* ace/Service_Object.h: Added a new smart pointer call
ACE_Service_Object_Ptr, which generalizes functionality that was
previously in the ./netsvcs/server/main.cpp file. Thanks to Wei
Chiang for this suggestion.
* examples/Threads/process_manager.cpp (parse_args): Removed the
unused n_processes global variable. Thanks to Amos Shapira for
reporting this.
* tests/SPIPE_Test.cpp (main): Cleaned up the #ifdef structure
to remove compiler warnings. Thanks to Amos Shapira for
this.
* tests/Handle_Set_Test.cpp (test_performance): Removed an unused
ACE_HANDLE handle definition. Thanks to Amos Shapira for
reporting this.
* ace/OS.i (sema_init): Swapped else and #endif to avoid
a compile error when ACE_LACKS_NAMED_POSIX_SEM is false.
Thanks to Wei Chiang for reporting this.
* ace/OS.cpp (rwlock_init): Added a cast to (const void *) to keep
certain compilers from complaining. Thanks to Thilo and
Amos Shapira for reporting this.
* ace/OS.i (sema_wait): *tv should have been &tv. Thanks to Thilo
for reporting this.
Mon Jul 28 13:57:21 1997 James C Hu <jxh@swarm.cs.wustl.edu>
* ace/config-irix6.4-sgic++.h: Added template specialization #def.
Sun Jul 27 20:47:01 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Handle_Set_Test.cpp: Instantiate templates with
ACE_HANDLE instead of int.
* examples/IPC_SAP/SPIPE_SAP/NPServer.cpp (main): use
ACE_OS::fprintf () instead of cerr.
Sun Jul 27 20:10:26 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.2.24, released Sun Jul 27 20:10:26 1997.
Sun Jul 27 16:03:30 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tests/Handle_Set_Test.cpp (test_boundaries): Changed class of
queue from ACE_Unbounded_Queue<int> to
ACE_Unbounded_Queue<ACE_HANDLE> so it declares the right data
type.
* ace/Synch.cpp (ACE_Process_Mutex):
* ace/OS.cpp (rwlock_init):
* ace/ACE.cpp (unique_name): Memories for placing unique_name are
now declared using ACE_UNIQUE_NAME_LEN. When calling
ACE::unique_name, the length is also specified using
ACE_UNIQUE_NAME_LEN because using "sizeof (buffer)" also caused
problem if we are using UNICODE.
* ace/OS.h: Added a new directive ACE_UNIQUE_NAME_LEN to specified
the maximum length of an "unique name."
Sun Jul 27 15:32:08 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Handle_Set_Test.cpp (main): uncommented
test_duplicates () and test_performance () calls, and added
ACE_Unbounded_Queue_Iterator<int> specialization.
Sun Jul 27 14:25:33 1997 Douglas C. Schmidt <schmidt@merengue.cs.wustl.edu>
* tests/Handle_Set_Test.cpp (test_boundaries): Added a better test
to ensure that the ACE_Handle_Set_Iterators are working
correctly. This works by inserting the handles in a queue and
then making sure that they are the same values we receive from
the iterator.
* ace/Handle_Set.i (operator): Fixed a subtle bug in the
ACE_Handle_Set_Iterator implementation. We need to make
sure that we increment the handle_index_ to the beginning
of the next word whenever we've examined all the bits in
the current word. Thanks to David Levine for noticing this
problem.
Sun Jul 27 09:06:29 1997 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.lib.GNU: replaced hard-coded ".so"
with "$(SOEXT)".
* include/makeinclude/rules.local.GNU: added/completed support
for "$(SOEXT)", and "$(VSHDIR)" instead of always hard-coding
them as ".so" and ".shobj/".
* include/makeinclude/wrapper_macros.GNU: added support for
override of "$(VSHDIR)" in platform_macros.GNU.
* apps/JAWS/clients/{Blobby,Caching}/Makefile,
apps/JAWS/stress_testing/Makefile,
apps/Orbix-Examples/Event_Comm/{Consumer,Supplier}/Makefile,
examples/ASX/Event_Server/Event_Server/Makefile,
examples/ASX/UPIPE_Event_Server/Makefile,
examples/Logger/simple-server/Makefile,
examples/Mem_Map/IO-tests/Makefile,
examples/Naming/Makefile,
examples/Reactor/Multicast/Makefile,
examples/Service_Configurator/Misc/Makefile,
examples/Shared_Malloc/Makefile:
replaced hard-coded ".shobj" with "$(VSHDIR)" in LDLIBS definitions.
* include/makeinclude/platform_vxworks5.x_{g++,ghs}.GNU:
added overrides of .so build rules to change them .o builds.
The above changes allow builds of modules that specify .shobj/*.so
on VxWorks, by mapping those objects to .obj/*.o.
Sun Jul 27 03:07:35 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/ACE.cpp (unique_name): Added __TEXT macro to the format
string in sprintf to avoid a nasty problem when using UNICODE on
NT.
Sat Jul 26 21:12:07 1997 David L. Levine <levine@cs.wustl.edu>
* ace/ReactorEx.cpp: added a couple of ACE_UNUSED_ARG's.
* examples/Logger/simple-server/Logging_Handler.cpp (handle_input):
replace use of cerr with stderr (by using default arg of
ACE_Log_Record::print ()).
* examples/Shared_Malloc/test_multiple_mallocs.cpp (main): use
ACE_OS::printf () instead of cout.
* examples/Shared_Malloc/test_persistence.cpp: added #include
of iostream.h with ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
Sat Jul 26 15:55:43 1997 <irfan@TWOSTEP>
* ace/Malloc_T.cpp (ACE_Cached_Allocator): Changed (T *) to
(T*). VC++ did not like the former.
* The entire ACE distribution was updated to use the new singleton
methods. The old singleton methods in Service_Config have been
deprecated and users are encouraged not to use these methods
anymore. It may not be supported in future releases. The
replacement is the instance() methods in the individual classes.
For example, ACE_Service_Config::reactor() is replaced by
ACE_Reactor::instance(). A perl script has been added
(ACE_wrappers/bin/Service_Config.perl) to allow users to change
their code over to the new methods.
These changes will hopefully help in reducing the compile-time
dependencies in ACE source files and allow smaller custom ACE
libraries to be compiled.
Thanks to Matthias Kerkhoff <make@cs.tu-berlin.de> for making
these changes.
Sat Jul 26 15:44:45 1997 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Malloc_T.cpp (ACE_Cached_Allocator): I think we want to
say "sizeof (T)" rather than "sizeof (T *)".
* ace/FILE_IO.i (recv_n): There is a minor bug fix to be made in
FILE_IO.i. The method ACE_FILE_IO::recv_n() should call
ACE::read_n(), not ACE::recv_n(). Similarly, the method
ACE_FILE_IO::send_n() should call ACE::write_n(), not
ACE::send_n(). The functions ::recv() and ::send() are intended
only for *socket* I/O, and return failure conditions when
applied to *file* I/O. Thanks to David Brackman
<dbrackman@OhioEE.com> for reporting this.
* ace: Changed all LOCK names to ACE_LOCK to avoid clashes
with macros in the KAI C++ compiler. Thanks to Jeff
R. Hayes <Jeff.Hayes@osi.com> for pointing this out.
* ace/Malloc_T.i: Added ACE_INLINE to some methods that weren't
getting inlined.
* ace/OS.i: Added an implementation of timed semaphores for the
POSIX threading APIs. Also cleaned up the return values from
sema_wait() so that it always returns -1 if an error occurs
(originally, it was returning -2, which is confusing). Also
cleaned up the rd_lock() and wr_lock() methods in the same way.
Sat Jul 26 16:00:05 1997 David L. Levine <levine@cs.wustl.edu>
* Malloc_T.cpp (ACE_Cached_Allocator): fixed typo, sizeof (T*)
instead of sizeof (*T).
* Proactor.cpp (instance): fixed signature in non-WIN32
version. (run_event_loop): added ACE_UNUSED_ARG (tv).
Fri Jul 25 12:08:47 1997 David L. Levine <levine@cs.wustl.edu>
* ace/OS.[hi]: finished VxWorks (non-POSIX) semaphore implementation.
* ace/Process.cpp (spawn): with GreenHills compiler only (for
VxWorks), call ACE_NOTSUP_RETURN instead of spawning via execve.
GreenHills 1.8.8 loses its lunch on the ACE_OS::execve () call.
Thanks to Dave Mayerhoefer <davem@lynx.com> for reporting
this problem.
* tests/Mem_Map_Test.cpp (create_test_file): delete array "mybuf"
to prevent memory leak.
* tests/Message_Queue_Test.cpp (main): delete "buffer"
elements at end of test to prevent memory leaks.
* performance-tests/Misc/context_switch_time.cpp: use
ACE_Sched_Params for platform-independent thread priority
assignment. Also, modified Yield_Test so that only one thread
writes the test's timer.
* examples/ASX/UPIPE_Event_Server/Peer_Router.cpp (svc):
replaced an iostream printout with an ACE_DEBUG call.
* examples/ASX/UPIPE_Event_Server/event_server.cpp: added
#include of iostream.h with ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION.
* examples/IPC_SAP/FILE_SAP/client.cpp: require 2 args instead
of 1; mask file mode with 0777 (octal); and use
ACE_OS::printf () instead of cout.
Fri Jul 25 00:46:22 1997 <irfan@TWOSTEP>
* ace/Synch: Added documentation for Condition variables. Thanks
to Jeff <jmg@trivida.com> for pointing out the lack of
documentation.
Thu Jul 24 11:48:05 1997 David L. Levine <levine@cs.wustl.edu>
* Makefile,TAO/Makefile: added a filter to exclude backup and
[.]#* files from releases. Thanks to Carlos O'Ryan
<coryan@mat.puc.cl> for reporting this problem.
* include/makeinclude/platform_*.GNU: inserted CVS/RCS
keyword string.
* performance-tests/Misc/basic_perf.cpp (per_iteration):
added support for ACE_U_LongLong.
* performance-tests/Misc/childbirth_time.cpp:
(prof_fork,prof_native_thread): added ACE_UNUSED_ARGs
for unsupported platforms. (prof_ace_os_thread): added
(ACE_THR_FUNC) cast of first arg to ACE_OS::thr_create () call.
* performance-tests/Misc/test_naming.cpp (find): replaced cerr
statement with an ACE_DEBUG.
* examples/Misc/test_read_buffer.cpp: replaced bare OS calls
with ACE_OS calls.
Thu Jul 24 11:35:37 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Timer_Heap_T.cpp: Fixed a problem with reschedule()
corrupting the free list in Timer Heap. Thanks to
James Crawford <jamesc@in.ot.com.au>, Silvano Peruzzi
<silvanop@in.ot.com.au>, and Stuart Powell <stuartp@in.ot.com.au>
for the fix.
Wed Jul 23 23:29:15 1997 <irfan@TWOSTEP>
* ace/Message_Block.cpp (size): Changed the comparison from
(length < this->max_size_) to (length <= this->max_size_).
Thanks to Paul <proman@npac.syr.edu> for suggesting this change.
Wed Jul 23 21:54:23 1997 David L. Levine <levine@cs.wustl.edu>
* examples/Shared_Malloc/test_malloc.cpp (spawn): cast argv
argument to (char *const *) for call to ACE_OS::execv ().
Wed Jul 23 16:40:39 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/ACE.cpp (get_ip_interfaces): ACE'ified codes for NT. UNIX
part will come later.
* ace/Malloc_T.cpp (ACE_Cached_Allocator): Changed to use raw
memory allocation method for memory pool.
* ace/OS.h (ACE_TEXT_STRING): Added this #define macro to switch
between ACE_WString and ACE_CString according to the usage of
UNICODE.
Wed Jul 23 14:43:11 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Timer_Queue_Test.cpp(main): delete timer_id array at
the end of the test to avoid a memory leak.
Wed Jul 23 13:40:39 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* ace/Process.cpp (ACE_Tokenizer::next): Moved checking of string
termination after checking delimiter and preserve_designator so
that we can use this class to tokenize multiple null terminated
strings cascaded together (using \0 as delimitor.) Notice tne
combined strings must be terminated with two null chars. I need
to use this class in ACE::get_ip_interfaces.
* ace/Malloc_T.{h,i}: Changed the implementation of
ACE_Cached_Mem_Pool_Node from using union to a plain pointer.
This is because some C++ compilers don't allow union member to
have copy constructor. Thanks to Tim to dig this out.
Wed Jul 23 12:58:04 1997 Steve Huston <shuston@riverace.com>
* ace/CORBA_Ref.cpp: Added #include "ace/Log_Msg.h" to catch the
ACE_DEBUG macro.
|