[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Offtopic: threads



   I know this is bit offtopic, but... :/

   In my program I have multi-threading (pthread and gthread). Is it
normal that, the first time I create a thread in the program, 3 threads
are actually created, with one of them being suspended? Next time the
program tries to create a thread only one thread is created, as expected.

   In my university Debian (2.1) is installed and gdb has thread support:
"GNU gdb 4.17.m68k.objc.threads.hwwp.fpu.gnat". At home I have Mandrake
6.1, and gdb doesn't have thread support. It actually stops my program
while being debugged saying that a unknown signal has been received. I
compiled gdb (4.18) from source myself, but I almost didn't even find the
word 'thread' in it. How can I configure gdb for thread support? 

   Thanks for your help.

-- 
Gustavo J.A.M. Carneiro
[reinolinux.fe.up.pt/~ee96090]
                                       



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]