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
2
votes
3 answers

Unit Testing framework for Embedded platform in C++?

I am working on an embedded systems project using ACE Framework and all the development is done using eclipse IDE. I am looking for a good testing framework. Basically the project involves parsing of incoming data and I am searching for a unit…
2
votes
2 answers

CMake Error: variable is NOTFOUND. ACE_INCLUDE_DIR (ADVANCED)

I just tried to compile the latest AzerothCore on Debian 9 and did not touch the source, just pulled it and used exactly the sh described in the installation guide. CMake gives me that error: CMake Error: The following variables are used in this…
2
votes
4 answers

Connect to remote UDP multicast service

How to connect to remote udp multicast if I have an IP address where the service resided (say 70.70.70.70), the multicast group to connect (say 224.25.25.25) and port (say 2020)? I use ACE framework and in the sniffer I see that ACE sends IGMP…
Boris
  • 51
  • 1
  • 3
2
votes
4 answers

Any open source server based on ACE framework?

anyone aware on open source project that uses ACE as the framework? Thanks, I.
Illia
  • 21
  • 1
2
votes
2 answers

How to do a function pointer cast without a typedef?

I am using ACE to get functions from a dynamically loaded DLL. The function symbol() below returns a void pointer, which I have to cast back to what it originally is. typedef cBase * (_cdecl *typeCreateManager)( void ); // ... ACE_DLL * m_pAceDll…
Fabian
  • 4,001
  • 4
  • 28
  • 59
2
votes
1 answer

openDDS on raspberry pi with raspbian

Is it possible to build openDDS and the required ACE+TAO on an raspberry pi with raspbian? I want to build it for java, so I tried the way described in $DDS_ROOT/java/INSTALL inlcuding the tips from here but if I make cd $ACE_ROOT/ace make ACE it…
user2071938
  • 2,055
  • 6
  • 28
  • 60
2
votes
1 answer

Use of linux timerfd for implementing timeouts in Dev poll reactor

Was just wondering whether use of timerfd (timerfd_create) for linux would give any performance benefit over Timer_Heap or Timer_Wheel. Surely, this is a very high level question and the only place I have seen it being used in any framework is…
Arunmu
  • 6,837
  • 1
  • 24
  • 46
2
votes
2 answers

ACE C++ Log in multiple files

I'm diving through ACE and, I'm logging message in a file using the ACE_ERROR macro. And AFAIK, ACE_ERROR logs all the messages in the same file, regardless of their error level. However, I actually need to write messages, according to their error…
Greed
  • 29
  • 6
2
votes
0 answers

boost::mutex::lock exception with error number 22

i am working with boost::mutex class to synchronize 2 threads on one resource. i get an exception when i call the following boost:mutex:lock() function: lock() { int const res=pthread_mutex_lock(&m); if(res) { …
Oded
  • 664
  • 2
  • 9
  • 30
2
votes
1 answer

ACE_RCSID is not found in ACE 6.1

ACE_RCSID is a function which is available in ACE5.5 for some loggin purpose. This is not present in ACE 6.1, is there any other equivalent function is available in ACE 6.1 similar to this.
rashok
  • 12,790
  • 16
  • 88
  • 100
2
votes
0 answers

ACE_Mutex never calls pthread_mutex_destroy

In my code I use ACE_Mutex from the ACE library on a system (QNX) that has pthreads. Now I'm experiencing the problem that it seems like the destructor of ACE_Mutex doesn't call pthread_mutex_destroy. This gives trouble when a subsequent mutex at…
Kris
  • 2,108
  • 18
  • 19
2
votes
1 answer

Problems with installing ACE on Ubuntu

I own Ubuntu 11.10 (GNU/Linux 3.0.0-18-server x86_64) and I am Trying to instal Single ACE 6.1.1 with this manual: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix_traditional Installation has change since version 6.0.7 I…
Byakugan
  • 981
  • 4
  • 15
  • 34
1
vote
2 answers

How to get a local time instead of UTC time in ACE?

I've been using the ACE_OS::gettimeofday() in a program to get the current time. From what I know, ACE always use UTC internally. However, sometimes I do need to convert the UTC time to a local time based on the system's timezone. Is it possible to…
Gang YIN
  • 2,509
  • 2
  • 21
  • 25
1
vote
1 answer

ace register_handler fails

I am using ace register_handler function in a system with multiple threads. Every once in a while, register_handler fails. I printed the file descriptor (by calling get_handle function) and I noticed the when the file descriptor is above 1000,…
Shay
  • 633
  • 2
  • 11
  • 27
1
vote
1 answer

Unable to acquire a mutex held by a ACE_Condition wait

I have the following code which is used to Push and Pend from a queue. The caller code has multiple MsgQ objects. It is possible that the Push and the Pend functions are waiting on the _notFull->wait() and the _notEmpty->wait() conditional waits.…
Vik
  • 45
  • 3
1
2
3
13 14