Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Weird Red Hat Linux thread id help...

  • 09-10-2009 2:18pm
    #1
    Closed Accounts Posts: 260 ✭✭


    Hi,

    Question here - i've written a multithreaded program and ran it on solaris 10 and on red hat linux
    when i do a pstack - the solaris reports normal enough thread ids:
    lwp# 1 / thread# 1

    But the red hat linux guy produces this weird thread id sequence:
    Thread 47974942004672

    anyone know exactly why RHL outputs this - and what it is?

    Thanks a lot

    N


    Solaris:
    lwp# 1 / thread# 1
    ff2cab38 lwp_cond_wait (35b40, 35b28, 0, 0)
    fe9c1e44 __1cHMonitorEwait6Mil_i_ (35ad0, 365e0, 371a0, fefde000, 365e0, 35b00) + 4bc
    feed57c0 __1cHThreadsKdestroy_vm6F_i_ (365e0, 35ad0, ff032160, fefde000, 0, 9400) + ac
    fecb13c8 jni_DestroyJavaVM (365e0, 83e8, ff032fa8, ff032fa0, 2, ff032fa4) + 1a4
    00012298 main (0, 34901, ff02b1e8, 1d8, 0, 1) + 11d0
    000110b0 _start (0, 0, 0, 0, 0, 0) + 108


    Red Hat Linux:
    Thread 1 (Thread 47974942004672 (LWP 27394)):
    #0 0x0000003494807655 in pthread_join () from /lib64/libpthread.so.0
    #1 0x00000000400058fc in ContinueInNewThread ()
    #2 0x0000000040001ee9 in main ()
    #0 0x0000003494807655 in pthread_join () from /lib64/libpthread.so.0


Advertisement