[Ace-users] [ace-bugs] ACE : support all WindowsCE priorites withCeGetThreadPriority
shuston at riverace.com
Tue Feb 12 09:56:26 CST 2008
This is a good idea - thank you for pointing it out. I don't believe
anyone is still supporting pre-5.0 CE, so this should be done.
Changing just the Get/SetPriority calls would be insufficient,
however, as there are other classes in ACE that deal with available
priority levels and their relationship. Could you please do one of the
1. Enter this issue in Bugzilla so it doesn't get lost. If someone has
time to work on this and the integration and testing, the information
will be readily available.
2. Sponsor the correction of this feature. One way is to purchase ACE
support and then report it as broken.
Steve Huston, Riverace Corporation
Want to take ACE training on YOUR schedule?
> -----Original Message-----
> From: ace-bugs-bounces at cse.wustl.edu
> [mailto:ace-bugs-bounces at cse.wustl.edu] On Behalf Of Daniel Lang
> Sent: Monday, February 11, 2008 3:43 AM
> To: ace-bugs at cs.wustl.edu
> Subject: [ace-bugs] ACE : support all WindowsCE priorites
> ACE VERSION: 5.6.2
> HOST MACHINE and OPERATING SYSTEM:
> If on Windows based OS's, which version of WINSOCK do you
> Host is WindowsXP with winsock2.0 Library.
> TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
> ARM processor and WindowsCE6.0
> COMPILER NAME AND VERSION (AND PATCHLEVEL):
> MS Visual Studio 2005 V8.0 SP.050727-7600
> THE $ACE_ROOT/ace/config.h FILE:
> #include "ace\config-win32.h"
> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
> CONTENTS OF
> (used by MPC when you generate your own makefiles):
> AREA/CLASS/EXAMPLE AFFECTED:
> DOES THE PROBLEM AFFECT:
> On Unix systems, did you run make realclean first?
> OTHER (please specify)?
> Not all WindowsCE priorities are supported.
> WindowsCE support up to 256 priority level but the implementation of
> ace/OS_NS_Thread.inl uses deprecated WindowsCE method so ACE
> can use only
> 8 priority levels.
> As you can read on
> WindowsCE support 256 priority levels. But the ACE method
> ACE_OS::thr_getprio uses the legacy WindowsCE method
> in order to retrieve the priority of current thread. So ACE
> for WindowsCE can use 8 priority levels only. This is a big
> problem for
> realtime based WindowsCE applications. If ACE would use
> ::CeGetThreadPriority instead of ::GetThreadPriority all 256
> levels could
> be used.
> REPEAT BY:
> SAMPLE FIX/WORKAROUND:
> ace-bugs mailing list
> ace-bugs at mail.cse.wustl.edu
More information about the Ace-users