synchronisation wince 5 vs wince 6 RRS feed

  • Question



    I am porting an legacy application written for wince 5 to wince 6 R3.

    There is a particular piece of code that is using semaphores and is showing some odd behaviours.

    I am still in the middle of debugging, but I thought of asking a general question if anybody would like to provide their comments on differences in how synchronisation objects are implemented/used between wince 5 and wince 6, in particular any key differences to note on semaphores.



    Monday, April 18, 2011 9:46 AM

All replies

  • afaik there's no difference in semaphore (or other sync objects) handling between the two versions

    by the way can you explain/describe the "odd behaviours"?

    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com

    • Edited by Luca Calligaris Monday, April 18, 2011 2:51 PM further question
    Monday, April 18, 2011 1:50 PM
  • Thanks Luca. I figured it out. It was actually a mutex object in a dll, and I had not realised that this dll was shared betwen two separate processes. Coupled this with the fact as I learned mutexes don't just provide synchronisation across threads in a single process, but also across multiple proesses, I was able to solve my problem.

    Thanks for looking into this.


    Tuesday, April 19, 2011 6:16 PM