[ace-users] LynxOS + Timed Semaphores

Steve Huston shuston at riverace.com
Fri Jul 6 08:25:12 CDT 2007


Hi guys,

I think I'll change the semaphore builds so that the emulation gets
turned on when native capability is not present. Does anyone think
it's useful to be able to disable the emulation?

Thanks,
-Steve

--
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
See http://www.riverace.com/sponsor.htm


> -----Original Message-----
> From: ace-users-bounces at cse.wustl.edu 
> [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of 
> Sowayan, Abdullah (N-DUA)
> Sent: Friday, July 06, 2007 7:38 AM
> To: Johnny Willemsen
> Cc: ace-users at cse.wustl.edu
> Subject: Re: [ace-users] LynxOS + Timed Semaphores
> 
> 
> Johnny,
> 
> > I don't see a reason why we can't use the emulation, have 
> you tried to
> > build
> > with the additonal define on lynxos 4.0?
> 
> I shall try it and report back. I was just wondering if the
emulation
> was not defined intentionally.
> 
> Thanks,
> Abdul
> 
> > "Sowayan, Abdullah (N-DUA)" <abdullah.sowayan at lmco.com> wrote in
> message
> >
news:<mailman.1295.1183671100.5286.ace-users at mail.cse.wustl.edu>...
> > > ACE VERSION: 5.5.9
> > >
> > > LynxOS 4.0 doesn't have timed Semaphores, while LynxOS 4.2 does.
> > >
> > > In $ACE_ROOT/ace/config-lynxos.h we find the following:
> > >
> > > -------------------------------------------------------
> > > #if ACE_LYNXOS_MAJOR == 4 && ACE_LYNXOS_MINOR == 0
> > > # define ACE_LACKS_GETOPT_PROTOTYPE
> > > # define ACE_LACKS_INET_ATON_PROTOTYPE
> > > # define ACE_LACKS_REGEX_H
> > > # define ACE_LACKS_STRCASECMP_PROTOTYPE
> > > # define ACE_LACKS_STRNCASECMP_PROTOTYPE
> > > # define ACE_LACKS_SYS_SELECT_H
> > > # define ACE_HAS_NONCONST_GETBY
> > > #endif
> > >
> > > #if (ACE_LYNXOS_MAJOR > 4) || (ACE_LYNXOS_MAJOR == 4 &&
> ACE_LYNXOS_MINOR
> > > >= 2)
> > > // LynxOS 4.2 additons
> > > # define ACE_HAS_POSIX_SEM_TIMEOUT
> > > # define ACE_HAS_MUTEX_TIMEOUTS
> > > #endif
> > > ------------------------------------------------------
> > >
> > > For LynxOS 4.2 we define ACE_HAS_POSIX_SEM_TIMEOUT because that
> feature
> > > is available. My question is, since LynxOS 4.0 lacks 
> native support
> for
> > > timed semaphores, why don't we use ACE's built in emulation by
> defining
> > > ACE_HAS_POSIX_SEM_TIMEOUT_EMULATION?
> > >
> > > Thanks,
> > > Abdul
> > >
> > >
> 
> _______________________________________________
> ace-users mailing list
> ace-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ace-users
> 




More information about the Ace-users mailing list