Debugging Boost Threads with GDB

Discussion in 'C++' started by Pallav singh, Jun 18, 2011.

  1. Pallav singh

    Pallav singh Guest

    Hi

    i have a query.

    can we control the scheduler while debugging Boost Threading model
    the same way we can control while debuging Pthreads in Unix. so that
    we can control single thread.

    Thanks
    Pallav Singh
     
    Pallav singh, Jun 18, 2011
    #1
    1. Advertising

  2. Pallav singh

    none Guest

    In article <itjlud$m7$>,
    Drew Lawson <> wrote:
    >In article <>
    > Pallav singh <> writes:
    >>Hi
    >>
    >>i have a query.
    >>
    >>can we control the scheduler while debugging Boost Threading model
    >>the same way we can control while debuging Pthreads in Unix. so that
    >>we can control single thread.

    >
    >I'm no Boost expert, but it is my understanding that Boost threads
    >are built on top of the native threads. So if you are on a platform
    >where pthreads are the norm, Boost should be using those.


    Boost Threads are indeed a wrapper on top of pthread on Posix system.
    So you should be able to get down to the raw pthread functionality
    relatively easily.
     
    none, Jun 20, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Surendra
    Replies:
    0
    Views:
    529
    Surendra
    Mar 23, 2006
  2. fabio

    problems with threads and gdb

    fabio, Sep 3, 2006, in forum: C Programming
    Replies:
    1
    Views:
    419
    Keith Thompson
    Sep 3, 2006
  3. seba
    Replies:
    1
    Views:
    1,489
    mlimber
    Mar 22, 2007
  4. Timothy Madden
    Replies:
    1
    Views:
    1,701
    Timothy Madden
    Sep 17, 2009
  5. Pallav singh
    Replies:
    0
    Views:
    381
    Pallav singh
    Jul 26, 2012
Loading...

Share This Page