[Ace-users] [ace-bugs] ACE : support all WindowsCE priorites with CeGetThreadPriority

Johnny Willemsen jwillemsen at remedy.nl
Mon Feb 11 03:06:02 CST 2008


Hi,

Thanks for using the PRF form. Can you make patches to fix this issue and
store it in bugzilla (see http://deuce.doc.wustl.edu/bugzilla/index.cgi)
pending for integration.

Regards,


Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 ***


>    ACE VERSION: 5.6.2
> 
>     HOST MACHINE and OPERATING SYSTEM:
>         If on Windows based OS's, which version of WINSOCK do you
>         use?:
> 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
> $ACE_ROOT/bin/MakeProjectCreator/config/default.features
>     (used by MPC when you generate your own makefiles):
> 
>     AREA/CLASS/EXAMPLE AFFECTED:
> 
>     DOES THE PROBLEM AFFECT:
>         COMPILATION?
>         LINKING?
>             On Unix systems, did you run make realclean first?
>         EXECUTION?
>         OTHER (please specify)?
> Not all WindowsCE priorities are supported.
> 
>     SYNOPSIS:
> 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.
> 
>     DESCRIPTION:
> As you can read on http://msdn2.microsoft.com/en-
> us/library/aa450596.aspx
> WindowsCE support 256 priority levels. But the ACE method
> ACE_OS::thr_getprio uses the legacy WindowsCE method
> ::GetThreadPriority
> in order to retrieve the priority of current thread. So ACE
> applications
> 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
> http://mail.cse.wustl.edu/mailman/listinfo/ace-bugs



More information about the Ace-users mailing list