Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #6880 > unrolled thread

Debugging Boost Threads with GDB

Started byPallav singh <singh.pallav@gmail.com>
First post2011-06-18 09:33 -0700
Last post2011-06-20 08:51 +0000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.c++


Contents

  Debugging Boost Threads with GDB Pallav singh <singh.pallav@gmail.com> - 2011-06-18 09:33 -0700
    Re: Debugging Boost Threads with GDB drew@furrfu.invalid (Drew Lawson) - 2011-06-19 02:12 +0000
      Re: Debugging Boost Threads with GDB yatremblay@bel1lin202.(none) (Yannick Tremblay) - 2011-06-20 08:51 +0000

#6880 — Debugging Boost Threads with GDB

FromPallav singh <singh.pallav@gmail.com>
Date2011-06-18 09:33 -0700
SubjectDebugging Boost Threads with GDB
Message-ID<3b3beb8f-1841-48d7-ac3f-03fbdadf7e90@p9g2000prh.googlegroups.com>
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

[toc] | [next] | [standalone]


#6900

Fromdrew@furrfu.invalid (Drew Lawson)
Date2011-06-19 02:12 +0000
Message-ID<itjlud$m7$1@raid.furrfu.com>
In reply to#6880
In article <3b3beb8f-1841-48d7-ac3f-03fbdadf7e90@p9g2000prh.googlegroups.com>
	Pallav singh <singh.pallav@gmail.com> 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.


-- 
 Drew Lawson

 ". . . And I never give a reason"
    -- God, as channeled by Seven Nations

[toc] | [prev] | [next] | [standalone]


#6934

Fromyatremblay@bel1lin202.(none) (Yannick Tremblay)
Date2011-06-20 08:51 +0000
Message-ID<itn1m3$a5g$1@dont-email.me>
In reply to#6900
In article <itjlud$m7$1@raid.furrfu.com>,
Drew Lawson <drew@furrfu.invalid> wrote:
>In article <3b3beb8f-1841-48d7-ac3f-03fbdadf7e90@p9g2000prh.googlegroups.com>
>	Pallav singh <singh.pallav@gmail.com> 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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web