Menu

Win32 Mutex implementation

Porting
2001-08-07
2001-08-08
  • Frediano Ziglio

    Frediano Ziglio - 2001-08-07

    Hi, I'm a new developer of CommonC++ project.
    There are many differences from posix to Win32. Why mutex in Win32 are implemented using Event and counters? There is a native mutex object in Win32. Why not using another implementation.

    freddy77

     
    • Frediano Ziglio

      Frediano Ziglio - 2001-08-08

      I saw in thanks that Mutex has been reimplemented. Older Mutex used CRITICAL_SECTION. Why can't do a TryEnterMutex portably with CRITICAL_SECTION. But we can use a Mutex object instead.

      freddy77

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.