f



[ace-bugs] Re: [ace-users] How to use ACE frameworks to implement mutualy dependent services?

Hi Boris,

        Thanks for using the PRF.

>>  ACE VERSION: 5.4
>> 
>>     HOST MACHINE and OPERATING SYSTEM:
>>         Win32, Linux, Solaris
>> 
>>     TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>> 
>>     COMPILER NAME AND VERSION (AND PATCHLEVEL):
>> 
>>     SYNOPSIS: How to use ACE frameworks to implement mutually dependent
>> services
>> 
>>     DESCRIPTION:

>> I've develop a network app. It offers some services. When app
>> starts it need to load configuration from DB, init and run
>> configured services.  Each kind service can be represented as group
>> of similar services and app fails if all services from some group
>> fails. Each service does its initialization and functioning
>> independently of other services. So if it fails it need to notify
>> some controler about this condition and let him to make some
>> decision.  Similary, there are some kind of services that need
>> other kind of services to be properly initialized and running
>> before they can be started, so there are also neccessary some
>> kind of notification.
>>
>> It is very undesirable to make hard link between related services.

>> After exploring ACE frameworks i still cannot realize which classes
>> and how can i use to implement my app in adaptive way ;) Of
>> course, i can implement all neccessary things by myself.. But i
>> want use ACE as much as it possible.  Any idea?

Have you tried using the ACE Service Configurator framework, in
particular the ACE_Dynamic_Service<>::instance() template/method, whic
you can use to avoid hard linkages between the service instances, yet
still access the services programmatically?  Please see the discussion
of this in Chapter 5 of C++NPv2
<www.cs.wustl.edu/~schmidt/ACE/book2/>.

Thanks,

        Doug










-- 
Dr. Douglas C. Schmidt, Professor           TEL: (615) 343-8197
Electrical Engineering and Computer Science FAX: (615) 343-7440
Vanderbilt University                       WEB: www.cs.wustl.edu/~schmidt/
Nashville, TN 37203                         NET: d.schmidt@vanderbilt.edu

0
Douglas
8/24/2004 1:24:06 PM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
616 Views

Similar Articles

[PageSpeed] 40

Reply:

Similar Artilces:

[ace-bugs] Re: [ace-users] How to use ACE frameworks to implement mutualy dependent services? #2
Hi Boris, >> Of course, some kind of FSM will be used, I hoped that such kind of >> service control already implemented in Service Configuration >> framework or it has callbacks to include such behaviour to it.. It sounds to me like a combination of the GoF State pattern plus the ACE Reactor, ACE Acceptor/Connector, and ACE Service Configurator frameworks would cover most of what you're trying to do, i.e., keep track of the state of services depending on their network progress. Check out Chapters 3, 4, 5, 6, and 7 of C++NPv2 for a bunch of examples that illustrate how to do this using ACE. >> BTW, back to logging framework, could you please comment my last >> post about it... I'm pretty swamped today, so I'll get to it when time permits. Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: www.cs.wustl.edu/~schmidt/ Nashville, TN 37203 NET: d.schmidt@vanderbilt.edu ...

RE: [ace-users] How to use ACE frameworks to implement mutualy dependent services?
Hi Doug, > > Have you tried using the ACE Service Configurator framework, > in particular the ACE_Dynamic_Service<>::instance() > template/method, whic you can use to avoid hard linkages > between the service instances, yet still access the services > programmatically? Please see the discussion of this in Chapter 5 of C++NPv2 > <www.cs.wustl.edu/~schmidt/ACE/book2/>. > Yeah, I've tried, but haven't found place where I can put service dependencies and control logic.. BTW, I tried to use ACE_Reactor notification mechanism but seems there is no easy way to pass arguments with notification, for which purposes this mechanism is intended? ...

RE: [ace-users] How to use ACE frameworks to implement mutualy dependent services? #2
Hi Boris, >> I'm not sure what you mean by this. > > I need to recognize states of services (for instance, when service make > transition to new state it informs its controler about that with > notification) and make some control based on this info. Services changes > their states depending on their network progress, for instance: closed, > opening, open, closing, failed. Have you considered using the State pattern from the GoF book? > Yeah, I see, but creating ACE_Event_Handler each time when I need to > pass pointer looks slightly overheading.. So why don't you just create a singleton event handler and pass this in each time? Just make sure not to delete it inside the upcall dispatched by the reactor. Take care, Doug ...

RE: [ace-users] How to use ACE frameworks to implement mutualy dependent services? #2
Hi Doug, > > >> Yeah, I've tried, but haven't found place where I can put service > >> dependencies and control logic.. > > I'm not sure what you mean by this. I need to recognize states of services (for instance, when service make transition to new state it informs its controler about that with notification) and make some control based on this info. Services changes their states depending on their network progress, for instance: closed, opening, open, closing, failed. > > >> BTW, I tried to use ACE_Reactor notification mechanism but seems > >> there is no easy way to pass arguments with notification, > for which > >> purposes this mechanism is intended? > > Please see Chapter 4 of C++NPv2 <www.cs.wustl.edu/~schmidt/ACE/book2/> > for examples of how to pass information to the ACE_Reactor > notification mechanism (hint, you simply subclass from > ACE_Event_Handler and pass stuff in that way). Yeah, I see, but creating ACE_Event_Handler each time when I need to pass pointer looks slightly overheading.. ...

RE: [ace-users] How to use ACE frameworks to implement mutualy dependent services? #2
Hi Doug, Thank you in advance for your attention, > > I need to recognize states of services (for instance, when service > > make transition to new state it informs its controler about > that with > > notification) and make some control based on this info. Services > > changes their states depending on their network progress, for > > instance: closed, opening, open, closing, failed. > > Have you considered using the State pattern from the GoF book? Of course, some kind of FSM will be used, I hoped that such kind of service control already implemented in Service Configuration framework or it has callbacks to include such behaviour to it.. > > > Yeah, I see, but creating ACE_Event_Handler each time when > I need to > > pass pointer looks slightly overheading.. > > So why don't you just create a singleton event handler and > pass this in each time? Just make sure not to delete it > inside the upcall dispatched by the reactor. Currently, I use similar approach, just interesting if I missed something.. BTW, back to logging framework, could you please comment my last post about it... Take care, Boris Kaminer ...

Re: [ace-users] How to use ACE frameworks to implement mutualy dependent services? #2
Hi Boris, >> Yeah, I've tried, but haven't found place where I can put service >> dependencies and control logic.. I'm not sure what you mean by this. >> BTW, I tried to use ACE_Reactor notification mechanism but seems >> there is no easy way to pass arguments with notification, for which >> purposes this mechanism is intended? Please see Chapter 4 of C++NPv2 <www.cs.wustl.edu/~schmidt/ACE/book2/> for examples of how to pass information to the ACE_Reactor notification mechanism (hint, you simply subclass from ACE_Event_Handler and pass stuff in that way). Take care, Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: www.cs.wustl.edu/~schmidt/ Nashville, TN 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-users] How to use ACE frameworks to implement mutualy dependent services?
This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C489FB.732ECCA0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable ACE VERSION: 5.4=20 =20 HOST MACHINE and OPERATING SYSTEM: Win32, Linux, Solaris =20 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AND PATCHLEVEL):=20 =20 SYNOPSIS: How to use ACE frameworks to implement mutually dependent services =20 DESCRIPTION: =20 I've develop a network app. It offers some services. When app starts it = need to load configuration from DB, init and run configured services.=20 Each kind service can be represented as group of similar services and = app fails if all services from some group fails. Each service does its initialization and functioning independently of other services. So if it fails it need to notify some controler about this condition and let him = to make some decision. Similary, there are some kind of services that need other kind of = services to be properly initialized and running before they can be started, so = there are also neccessary some kind of notification. =20 It is very undesirable to make hard link between related services. =20 After exploring ACE frameworks i still cannot realize which classes and = how can i use to implement my app in adaptive way ;) Of course, i can implement all neccessary things by myself.. But i want = ...

[ace-bugs] Re: [ace-users] How to use the IPV6 in ACE?
Hi, Thanks for using the PRF. >> TAO VERSION: 1.3 >> ACE VERSION: 5.3 You definitely want to upgrade to ACE 5.4.1, which you can obtain from the "usual place" at http://deuce.doc.wustl.edu/Download.html >> HOST MACHINE and OPERATING SYSTEM: >> Intel P4/Windows 2000 Server SP4 >> SUN Ultra/ Solaris 8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> VC7.1 >> SUN Workshop Forte C++ 6 update 1 >> >> AREA/CLASS/EXAMPLE AFFECTED: >> N/A >> >> DOES THE PROBLEM AFFECT: >> COMPILATION? >> No >> LINKING? >> No >> EXECUTION? >> No >> >> SYNOPSIS: >> I want to know how to use IPv6 in ACE/TAO and where i can find the docs and examples. Please see ACE_ROOT/tests/INET_Addr_Test_IPV6.cpp ACE_ROOT/tests/Max_Default_Port_Test_IPV6.cpp ACE_ROOT/tests/Multicast_Test_IPV6.cpp ACE_ROOT/tests/Multihomed_INET_Addr_Test_IPV6.cpp ACE_ROOT/tests/Proactor_Test_IPV6.cpp ACE_ROOT/tests/SOCK_Send_Recv_Test_IPV6.cpp for a number of examples. Steve, does APG have any documentation for the IPV6 stuff? Thanks, Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science F...

[ace-bugs] Re: [ace-users] How to Use IPv6 in ACE?
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HOST MACHINE and OPERATING SYSTEM: >> SUN Solaris 8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> SUN Forte6 C++ UP1 >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- >> specific file, simply state which one]: >> config-sunos5.8.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >> platform_sunos5_sunc++.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> NO >> >> DOES THE PROBLEM AFFECT: >> COMPILATION? >> NO >> LINKING? >> NO >> EXECUTION? >> NO >> OTHER (please specify)? >> NO >> >> SYNOPSIS: >> I want to know how to use IPv6 in ACE-TAO, and where i can find the documents and examples. Please see http://groups.yahoo.com/group/ace-users/message/38643 for a partial answer to your question. In addition, check out $ACE_ROOT/tests/INET_Addr_Test_IPV6.cpp $ACE_ROOT/tests/Max_Default_Port_Test_IPV6.cpp $ACE_ROOT/te...

[ace-bugs] Re: [ace-users] Using ACE with COM
Hi Zvika, Thanks for using the PRF. >> ACE VERSION: 5.4.2 >> >> HOST MACHINE and OPERATING SYSTEM: >> Windos XP Pro, winsock2 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> MSVC6 SP5 >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- >> specific file, simply state which one]: >> #include "config-win32.h" >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >> >> AREA/CLASS/EXAMPLE AFFECTED: >> [What example failed? What module failed to compile?] >> >> DOES THE PROBLEM AFFECT: >> COMPILATION? NO >> LINKING? NO >> On Unix systems, did you run make realclean first? >> EXECUTION? YES >> OTHER (please specify)? >> [Please indicate whether ACE, your application, or both are affected.] >> >> SYNOPSIS: >> We are working on a big project that involves ACE. We need to interface the >> part that uses ACE to other Windows based applications >> that need to remain unaware of the underlying implementation. The obvious >> method is to use COM,...

[ace-bugs] Re: [ace-users] ACE
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HP Server and HP-UX 11.1 >> >> aCC: HP ANSI C++ B3910B A.03.37 >> >> CONTENTS OF $ACE_ROOT/ace/config.h : config-hpux-11.00.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU : >> platorm_hpux_aCC.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> >> $ACE_ROOT/ace - Compiled successfully but >> >> $ACE_ROOT/ - failed to compile as shown below >> >> Installing gperf -> /home/umitd/Projects/Trophy/lib/ACE_wrappers/bin >> Installing gperf -> /home/umitd/Projects/Trophy/lib/ACE_wrappers/bin >> gmake[6]: Leaving directory >> `/home/umitd/Projects/Trophy/lib/ACE_wrappers/apps/g >> perf/src' >> cd tests && gmake -f Makefile all >> gmake[6]: Entering directory >> `/home/umitd/Projects/Trophy/lib/ACE_wrappers/apps/ >> gperf/tests' >> >> Makefile: >> /home/umitd/Projects/Trophy/lib/ACE_wrappers/apps/gperf/tests/Makefile >> >> aCC -AA +W930 +W302 +DAportable -g -DACE_HAS_THREADS -D_REENTRANT >> -D_RWSTD_MULTI >> _THREAD -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -DHPUX_VERS=1111 >> -DACE_LACKS_PR >> AGMA_ONCE -I/home/umitd/Projects/Trophy/lib/ACE_wrappers >> -DACE_HAS_EXCEPTIONS >> -D__ACE_INLINE__ -c -o .obj/test.o te...

[ace-users] Re: [ace-bugs] ACE Licensing Issue: ace/CLASSIX
Hi Michael, Thanks for using the PRF. >> ACE VERSION: 5.4 >> >> HOST MACHINE and OPERATING SYSTEM: >> HP rp8400 HP-UX 11iv1 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> aCC >> >> CONTENTS OF $ACE_ROOT/ace/config.h: >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU >> (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >> >> AREA/CLASS/EXAMPLE AFFECTED: >> ace/CLASSIX >> >> DOES THE PROBLEM AFFECT: >> OTHER? (Licensing) >> >> SYNOPSIS: >> Nearly all the files in ace/CLASSIX have a copyright in them >> or a signature from Nokia. Our lawyers are going nuts. >> Example: >> CLASSIX_Dgram_Mcast.cpp: >> // Copyright 1998 Nokia Telecommunications >> >> CLASSIX_OS.h >> // = AUTHOR(S) >> // Nokia Telecommunications >> >> DESCRIPTION: >> How does this affect the ace license? >> >> REPEAT BY: >> >> SAMPLE FIX/WORKAROUND: >> Get the copyrights out of the code, or put special permissions >> into the code. O...

[ace-bugs] Re: [ace-users] How to Use IPv6 in ACE? #2
Please stop reposting this question. Bala and I have already answered it the past several days. Check out http://groups.yahoo.com/group/ace-bugs/message/4421 for my answer. Thanks, Doug >> ACE VERSION: 5.4.1 >> >> HOST MACHINE and OPERATING SYSTEM: >> SUN Solaris 8 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> SUN Forte6 C++ UP1 >> >> CONTENTS OF $ACE_ROOT/ace/config.h [if you use a link to a platform- >> specific file, simply state which one]: >> config-sunos5.8.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >> platform_sunos5_sunc++.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> NO >> >> DOES THE PROBLEM AFFECT: >> COMPILATION? >> NO >> LINKING? >> NO >> EXECUTION? >> NO >> OTHER (please specify)? >> NO >> >> SYNOPSIS: >> I want to know how to use IPv6 in ACE-TAO, and where i can find the documents and examples. >> >> Thanks! >> ...

[ace-bugs] Re: [ace-users] plugins and ACE configurator framework
Hi Francesco, >> C++NPv2 chapter 5 discusses the ACE Service Configurator Framework, >> and chapter 19 in APG has more tutorial information on the topic. Please see http://www.cs.wustl.edu/~schmidt/ACE/ for a website that contains links to more information on these books. Thanks, Doug >> Examples from these are in ACE_wrappers/examples/C++NPv2 and >> ACE_wrappers/examples/APG/Svc_Config, respectively. >> >> Best regards, >> >> -Steve >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> Steve Huston, Riverace Corporation >> Co-author of "C++ Network Programming" and "The ACE Programmer's >> Guide" >> Books, ACE kit and support info at http://www.riverace.com/ >> >> > -----Original Message----- >> > From: owner-ace-users@cse.wustl.edu >> > [mailto:owner-ace-users@cse.wustl.edu] On Behalf Of Francesco >> Formenti >> > Sent: Tuesday, July 06, 2004 11:04 AM >> > To: ace-users@cs.wustl.edu >> > Subject: [ace-users] plugins and ACE...

[ace-bugs] Re: [ace-users] Has anyone mixed boost.org libraries with ACE using the standard ACE Makefile?
Hi, There is now also a boost_unit_test base project, maybe we should rename that just to boost add the libs for the other compilers. With MPC you can then generate makefiles supporting boost. The boost_unit_test will be in the upcoming x.4.3 release. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl "Xue Yong Zhi" <seclib@seclib.com> wrote in message news:<51693.66.240.11.2.1100214499.squirrel@www.seclib.com>... > I recommend you to read a few basic documents about using shared library > first, becuase I can see from your post that you do no have a > clear idea on Makefile, shared libary etc. > > ACE, boost and stl are all provided as shared/static library, > and the purpose of Makefile is to tell the compiler how to > compile/link your source code, and link with the shared libraries. > > I recommend you to try MPC to generate Makefile, instead of write > Makefile directly. MPC is very well documented by: > http://download.ociweb.com/TAO-1.3a/TAO1.3aMakeProjectCreator.pdf > > You .mpc file should look like this(you need to modify it to fit your > environment): > > project : acelib { > > includes += $(SRC_ROOT)/boost/include > libpaths += $(SRC_ROOT)/boost/lib > > specific(borland, bmake, nmake, em3, vc6, vc7, vc71) { > //Libraries for Borland and Microsoft co...

[ace-bugs] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. > I know we can set exceptions = 1 or 0 in platform_macros.GNU > to use ACE's exception handling or C++'s native exception handling. > > But I am still not clear on which value should I set exceptions to if > I want to use only the C++'s native exception handling support. Then just set it to 1 which is the default. Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl ------=_Part_4854_4331443.1142846841468 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline ACE VERSION: 5.5 HOST MACHINE and OPERATING SYSTEM: *Sparc, Solaris 10 * If on Windows based OS's, which version of WINSOCK do you use?: TARGET MACHINE and OPERATING SYSTEM, if different from HOST: COMPILER NAME AND VERSION (AN...

[ace-bugs] Re: [ace-users] IPC across network using ACE
Hi Sarvo, >> Iam a new user of ACE framework. I understand that ACE >> addresses concurrent network programming challenges. I >> also understand that ACE provides a set of wrapper >> classes (IPC_SAP) which encapsulates all the IPC >> mechanisms provided by OS. >> My queries are: >> 1. Does ACE provide mechanism to use IPCs like Shared >> Memory and FIFO across the PC connected in a network. No, because shared memory and FIFO's don't work across networks and ACE largely provides "wrapper facades," as described in C++NPv1 <www.cs.wustl.edu/~schmidt/ACE/book1/>. >> 2. If yes then how can we configure these IPCs to work across the >> network. You can use the ACE_SOCK* classes and/or The ACE ORB (TAO) to communicate across networks. Take care, Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: www.cs.wustl.edu/~schmidt/ Nashville, TN 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-bugs] Re: [ace-users] ACE-warnings
Hi, Thanks for using the PRF form. It seems you are using compiler options we are not using in our builds. What I have done is setup a small ACE build with some extra warnings enabled, see http://www.dre.vanderbilt.edu/scoreboard/integrated.html for the SuSE_92_GCC3.3.4_x86_64_extended_warnings build. It seems some work can be done, if you have patches to improve things, send them to the mailing list (make then bases on 5.4.2, 5.4 is almost a year old) and we can see if we can apply them. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlands www.theaceorb.nl / www.remedy.nl "Sponsel Carsten (ext)" <carsten.sponsel@erln.gepas.de> wrote in message news:<0FD43CFFD4EB254AB6D0D172007FF6010396C653@erlh907a.med.siemens.de>... > ACE VERSION: 5.4 > > HOST MACHINE and OPERATING SYSTEM: > AMD Opteron with RedHawk Linux 2.2 (based on Kernel 2.6.3) > > TARGET MACHINE and OPERATING SYSTEM: same > > COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc (GCC) 3.2.3 20030502 (Red > Hat Linux 3.2.3-20) > > CONTENTS OF $ACE_ROOT/ace/config.h: > > CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU (unless > this isn't used in this case, e.g., with Microsoft Visual C++): > > AREA/CLASS/EXAMPLE AFFECTED: > COMPILATION > > SYNOPSIS: > Compiler-Warnings > > DESCRIPTION: > > I'm astonish...

[ace-bugs] Re: [ace-users] DCLP and ACE
Hi Yongwei, >> Has anyone here read the DDJ article "C++ and the Perils of >> Double-Checked Locking"? It is available at this URL: >> >> http://www.ddj.com/documents/ddj0408l/ >> >> Regretfully registration is needed to read it. >> >> In brief, Scott Meyers and Andrei Alexandrescu talked about why DCLP is >> unsafe, esp. on multiprocessor environments. The most difficult part >> seems to be the Alpha Reordering problem, described at >> >> http://www.cs.umd.edu/~pugh/java/memoryModel/AlphaReordering.html >> >> And thus DCLP could be impossible, unless some memory barrier is >> inserted in every read! The topic of memory barriers for the Alpha and ACE_Singleton is discussed in the DCLP description in POSA2 <www.cs.wustl.edu/~schmidt/POSA/>. If you'd like to contribute portable patches that add this capability to $ACE_ROOT/ace/Singleton.cpp that would be great. We (i.e., the DOC groups at WU/VU/UCI) don't have a Alpha platform in our possession, so if you would like to provide one that we could use to run regression tests on our auto-build virtual scoreboard <www.dre.vanderbilt.edu/scoreboard/> that would be great. Thanks, Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: ww...

[ace-bugs] Re: [ace-users] ACE
Hi Srujan, >> I am using ACE 5.1 on Solaris. How can I find out that IPv6 is >> enabled in my build. I couldnt use the ACE::ipv6_enabled() >> function. Also, in ACE5.1 how can I detertmine at run time that >> IPv6 has been enabled on the machine. ACE 5.1 is ANCIENT. Please upgrade to a more recent version of ACE, e.g., ACE 5.4.4 <deuce.doc.wustl.edu/Download.html> or one of the commercially supported versions, as discussed at http://www.cs.wustl.edu/~schmidt/commercial-support.html Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-bugs] Re: [ace-users] Contribution to ACE
Hi Ishay, >> I will submit it soon. Great, thanks. >> The solution is implemented as part of my company internal framework. It is >> not written with the coding style of ace. >> >> Should I do some kind of adjustment before submitting it to the group? Yes - please see http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-guidelines.html for instructions on how to conform to the ACE programming guidelines. >> Should I rewrite it so it will compile with the ace library? Yes, please try to get things working "out of the box" so that we can integrate it easily. Also, please add a "one button" test following the style of the various tests in $ACE_ROOT/tests/*_Test.cpp so that we can ensure that your changes work properly. >> Also, In order to integrate it as part of ace frameworks it will >> need some changes in the implementation. Are you referring to changes in the ACE implementation or to your framework's implementation? Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu ...

[ace-bugs] Re: [ace-users] Moving to ACE?
Hi Marcelo, Thanks for your email. BTW, to ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. >> Anyway before i make that big decision i need to have some >> questions answered: 1) Why did you decided not to use exceptions? >> Isn�t it the best way to handle errors? The short answers are "portability" and "efficiency". Please see Appendix A.6 in the C++NPv1 book <www.cs.wustl.edu/~schmidt/ACE/book1/> for a longer discussion of these issues. BTW, The ACE ORB (TAO) does use exceptions. >> 2) I saw you had a class that handles multicast but i haven�t >> seen much documentation about it, does is work correctly? Sure, it works great and is very easy to use. Check out Chapter 9 of the APG book <http://safari.awprofessional.com/?XmlId=0-201-69971-0> for documentation and examples. >> For example... something i have payed a lot of attention in my >> implementation of multicast is th...

[ace-bugs] Re: [ace-users] ACE Site Down !!!!!!!!
Hi Folks, >> Could you please post the URL's that you think are down? If you are >> takling of the intro online tutorials from Dr. Schmidt's website, >> then I may know the answer. Those tutorials were removed from the >> repository a few days back. BTW, the tutorials were removed for two reasons: .. No one was maintaining them. If you or anyone else would like to volunteer to maintain them we can add them back. .. They have been superceeded by the material from C++NPv[12] and APG, which are described at http://www.cs.wustl.edu/~schmidt/ACE/ The examples from these books are available in $ACE_ROOT/examples/C++NPv1 $ACE_ROOT/examples/C++NPv2 $ACE_ROOT/examples/APG Take care, Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: www.cs.wustl.edu/~schmidt/ Nashville, TN 37203 NET: d.schmidt@vanderbilt.edu ...

Re: [ace-users] [ace-bugs] ace-bugs: ACE_FACTORY_DEFINE NEEDED
Hi, Thanks for using the PRF! > ACE VERSION: 6.1.7 > > HOST MACHINE and OPERATING SYSTEM: > > Intel(R) Core(TM)2 Duo CPU > Ubuntu 12.04.2 LTS > Linux version 3.2.0-37-generic > > TARGET MACHINE and OPERATING SYSTEM, if different from HOST: > COMPILER NAME AND VERSION (AND PATCHLEVEL): > > gcc version 4.6.3 > (Ubuntu/Linaro 4.6.3-1ubuntu5) > > THE $ACE_ROOT/ace/config.h FILE: > > #include "ace/config-linux.h" > > THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE : > > include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU > ssl=1 > > CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features > (used by MPC when you generate your own makefiles): > > NONE > > AREA/CLASS/EXAMPLE AFFECTED: > > examples/C++NPv2/AIO_Client_Logging_Daemon.cpp > > DOES THE PROBLEM AFFECT: > EXECUTION! > sr_configurable_logging_server fails to properly work with libAIO_CLD.so > > SYNOPSIS: > > In AIO_Client_Lo...

Web resources about - [ace-bugs] Re: [ace-users] How to use ACE frameworks to implement mutualy dependent services? - comp.soft-sys.ace

Samsung Galaxy Ace 4 User Reviews
Samsung Galaxy Ace 4 reviews written by Phone Arena users. You can read the opinion of each user and how they rate the phone in 11 categories. ...

Samsung Galaxy Ace 3 official: iPhone-alike size for the new user
Samsung has revealed another in its Galaxy series, the Galaxy Ace 3, now targeting entry-level smartphone users who want a pocket-friendly 4-inch ...

Resources last updated: 3/5/2016 6:54:55 PM