Questions tagged [ace]

The ADAPTIVE Communication Environment (ACE), a C++ network programming toolkit. For the ACE database available since MS Access 2007, use an ms-access tag and the ms-jet-ace tag. For the ACE editor, use the [ace-editor] tag.

The ADAPTIVE Communication Environment (ACE) is a freely available, open-source object-oriented (OO) framework that implements many core patterns for concurrent communication software.

For the ACE database available since MS Access 2007, use the tag and the tag.

For the ACE editor use the tag.

206 questions
0
votes
1 answer

Why is IDL incomplete?

I'm using OpenDDS 3.4.1 on Linux and trying to manually compile an IDL because I already have a build system for the project and would just like to generated the needed files and integrate. Here a test IDL I'm using. #include…
Ender
  • 1,652
  • 2
  • 25
  • 50
0
votes
1 answer

Destroy of corba servants actived by _this

In the example of TAO/example/Simple/Bank, the two idl methods: open and close are defined in the AccountManager, the former is to generate a new activated Account servant while the latter is to recycle it . The AccountManager_i is like:…
shijie xu
  • 1,975
  • 21
  • 52
0
votes
1 answer

is there a good way to find function define in header file in ace framework

As a ace framework newer, i always encounter some problem when using this framework. I copy some example code from website and execute it in linux. however some error throw out because of no include correspond header file. for exmaple some error…
Michael Scofield
  • 61
  • 1
  • 1
  • 7
0
votes
1 answer

generated Skel method missing Exception declaration in Tao_idl

I have one method in IDL(test.idl) file: bool login(in string name, in string cipher) raises (AuthenticationException); AuthenticationException is declared an exception in my IDL files. Then I use tao_idl to generate skeleton with below…
shijie xu
  • 1,975
  • 21
  • 52
0
votes
1 answer

ACE crash in __GI_raise

My linux(ubuntu 12.04) process crash when I use ACE_5.7.1. My code: ACE_INET_Addr remote_addr(server_addr.c_str()); ACE_SOCK_Stream stream; ACE_SOCK_Connector connector; ACE_Time_Value to(1, 0), to2(2,0); ret =…
0
votes
0 answers

read( ) call hanging while reading a regular file

I have a scenario where i open a file in a non blocking mode.. currentFile1 = ACE_OS::open(completeFileName.c_str(), O_RDONLY, ACE_DEFAULT_OPEN_PERMS); bytesRead = ACE_OS::read(myCurrentFile, (char *)myIO_Buffer, 12); During some strange…
samairtimer
  • 826
  • 2
  • 12
  • 28
0
votes
1 answer

ACE TAO cannot get NameService object in debug mode

I'm running a multi-program projects using ACE TAO. I set the Environment Variables and compiled ACE_TAO environment. Then I copied the tao_cosnaming.exe to my project run directory and use a .bat to start the naming service. The programs run well…
0
votes
0 answers

My exe can not response the "ctrl+c" When I load the dll which contains ACE init.(C++)

I have a question now, it is about ACE and signal capture. I have a dll which contains ACE init function's call, I need to call this dll in my .exe, but in this case, My exe can not capture the signal of "ctrl+c". if I don't call the ACE init…
crazyer
  • 1
  • 1
0
votes
1 answer

ACE debugging: How to cause msg queue full?

I am using the method: ACE_Task::putq (ACE_Message_Block *mb, ACE_Time_Value *tv) Here is the line where I call it: ret = putq(mb, const_cast(&ACE_Time_Value::zero)); What I am basically trying is that I need to get regular errors EWOULDBLOCK…
Sold Out
  • 1,321
  • 14
  • 34
0
votes
1 answer

use threads in ACE to perform different operation

Is it possible to use ACE threads in C++ for execution of different tasks? e.g. suppose the user creates two threads named threadA and threadB. Once they finish their execution on certain functions, can we use the same thread threadA and threadB for…
VickyCool
  • 113
  • 1
  • 12
0
votes
2 answers

How to print ACE_thread_t using printf()

ACE_OS::thr_self() returns ACE_thread_t. ACE logger has a switch "\t" to print it. How can I do it if I want to print thread id by using printf()?
dimba
  • 26,717
  • 34
  • 141
  • 196
0
votes
0 answers

socket recv Consuming CPU

One of our product user is claiming that in our product socket recv is consuming very high CPU. We are using ACE. I tried locally but could not reproduce the issue. I am looking for probable reasons why would socket recv would consume high CPU.
Avinash
  • 12,851
  • 32
  • 116
  • 186
0
votes
1 answer

How to remove preprocessor flags defined by Makefile Project Creator for VS9

I'm attempting to build a static library (.lib configuration) with Makefile Project Creator (MPC) for Visual Studio 9. I have the configuration (*.mpc) files written for the GNU build environment, but I'm trying to compile cross platform with VS9. I…
Tyler Jandreau
  • 4,245
  • 1
  • 22
  • 47
0
votes
1 answer

How can I set the size of an Ace activation Queue?

That is, how can i limit the number of tokens/elements the Queue can hold? Example: I have a low level driver that can only process one request at a time. I am using the Ace activation Queue to limit the request (there could be up to 10 pending),…
user204834
0
votes
1 answer

Generic Memory Allocator

I would like to create a memory manager/allocator which allocates memory with any specified size. I have tried using Boost and ACE memory allocator but they allocates only specif type of data In ACE_cached_allocator if allocator is int type we can…
user2424663
  • 71
  • 1
  • 4