Menu

#4 Thread ID resolution on 64-bit machines

closed-fixed
nobody
None
5
2010-02-26
2009-09-14
Systematic
No

This is a Patch that will resolve issue with Thread ID on 64-bit machines using PTHREAD. Tested on Ubuntu 9.04 with g++ 4.3.3

Discussion

  • Systematic

    Systematic - 2009-09-14

    64-bit Thread ID Patch

     
  • Systematic

    Systematic - 2009-09-14

    This patch resolve the issue described in
    https://sourceforge.net/tracker/?func=detail&aid=2851230&group_id=37535&atid=1126912

    pthread_t on Linux is defined as unsigned long. The variable storing the thread_id within various quickfix classes is defined as an unsigned [int]. Which causes problems specifically during thread joins on exit as the thread_id doesn't match the original id spawned by the pthread_create.

    Patch is tested on Linux Ubuntu 9.04 with g++ 4.3.3.

     
  • Oren Miller

    Oren Miller - 2010-02-26
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB