Issues with Multithreading on Windows CE - Windows CE

This is a discussion on Issues with Multithreading on Windows CE - Windows CE ; Hi all I am writing a multithreaded program for Windows CE 4.2. May I know what are the issues that have to be taken care of? Prior to this post, some research has been done with regard to this topic. ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Issues with Multithreading on Windows CE

  1. Issues with Multithreading on Windows CE

    Hi all

    I am writing a multithreaded program for Windows CE 4.2.
    May I know what are the issues that have to be taken care of?

    Prior to this post, some research has been done with regard to this
    topic. It seems that _beginthreadex is no longer supported on this
    version of Windows CE. There are also rumours that CreateThread() is
    thread safe for Windows CE. Are these true?

    I have tried compiling a trial program with _beginthreadex(), but the
    compiler could not find the 'process.h' file which i tried to include.
    Should I try solving this problem or use CreateThread() instead?

    Also, do I need to use the /MT parameter when compiling using eVC++ 4?

    Thank you!

    Ponce

  2. Re: Issues with Multithreading on Windows CE

    >It seems that _beginthreadex is no longer supported on this version of
    >Windows CE. There are also rumors that CreateThread() is thread safe for
    >Windows CE. Are these true?

    Those are not rumors, they are facts. I don't know why Microsoft chose not
    to implement a simple version of _beginthreadex for compatibility though.

    Since the C Runtime library is implemented as part of CoreDLL.DLL it is
    always multi threaded already.

    You don't need any special additional switches or settings to support multi
    threading in Windows CE. It is inherently assumed for ALL applications.

    --
    Steve Maillet
    EmbeddedFusion
    www.EmbeddedFusion.com
    smaillet at EmbeddedFusion dot com



  3. Re: Issues with Multithreading on Windows CE

    Got that! Thanks

+ Reply to Thread