how to print correctly the handling thread on Windows?
        Posted  
        
            by make
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by make
        
        
        
        Published on 2010-03-23T06:50:07Z
        Indexed on 
            2010/03/23
            6:53 UTC
        
        
        Read the original article
        Hit count: 162
        
Hi,
Could someone please tell us on how to print correctly the handling thread in windows? Actually I tried several ways but it doesn't return the right number as in Unix-variant, as such e.g.:
cout << " with thread " << pthread_self << endl;
cout << " with thread " << pthread_self().p << endl;
Thanks for your replies:
© Stack Overflow or respective owner