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


Groups > comp.lang.c++ > #5948

Re: pthread memory leaks

From Miles Bader <miles@gnu.org>
Newsgroups comp.lang.c++
Subject Re: pthread memory leaks
Date 2011-06-01 17:39 +0900
Organization NEC Electronics
Message-ID <buovcwq54ir.fsf@dhlpc061.dev.necel.com> (permalink)
References <9430fe32-d385-49a3-b925-daf3cd421789@j13g2000pro.googlegroups.com> <211062bc-81c2-40d2-b6f2-ebd587ff179c@n10g2000vby.googlegroups.com> <slrniubtuo.gtj.grahn+nntp@frailea.sa.invalid>

Show all headers | View raw


Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
> A short offtopic question to that: with signals being such an integral
> part of Linux, aren't you really saying Linux and threads don't mix?
> Or are you taking differences beween Linux and other Unixes into
> account here?

AFAIK, it's not that you can't use them together at all, it's just that
you have to be aware of certain limitations on what is guaranteed (so
relying on what seems to happen in practice on a given implementation
might not be very portable).

Signals are a "rough" tool, threads are a "fine" one, and the
intersection is a bit fuzzy... if fuzzy's OK, then no prob, but...

-miles

-- 
Dictionary, n.  A malevolent literary device for cramping the growth of
a language and making it hard and inelastic. This dictionary, however,
is a most useful work.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

pthread memory leaks jakash3 <jakashthree@gmail.com> - 2011-05-30 16:29 -0700
  Re: pthread memory leaks Ian Collins <ian-news@hotmail.com> - 2011-05-31 11:50 +1200
    Re: pthread memory leaks Ian Collins <ian-news@hotmail.com> - 2011-05-31 11:52 +1200
      Re: pthread memory leaks Puppet_Sock <puppet_sock@hotmail.com> - 2011-05-31 06:46 -0700
    Re: pthread memory leaks jakash3 <jakashthree@gmail.com> - 2011-05-30 17:00 -0700
      Re: pthread memory leaks Ian Collins <ian-news@hotmail.com> - 2011-05-31 12:02 +1200
        Re: pthread memory leaks jakash3 <jakashthree@gmail.com> - 2011-05-30 17:05 -0700
          Re: pthread memory leaks yatremblay@bel1lin202.(none) (Yannick Tremblay) - 2011-06-06 09:38 +0000
  Re: pthread memory leaks Stuart Redmann <DerTopper@web.de> - 2011-05-31 00:16 -0700
    Re: pthread memory leaks "Chris M. Thomasson" <cristom@charter.net> - 2011-06-10 15:46 -0700
  Re: pthread memory leaks Adam Skutt <askutt@gmail.com> - 2011-05-31 03:20 -0700
    Re: pthread memory leaks Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-01 08:27 +0000
      Re: pthread memory leaks Miles Bader <miles@gnu.org> - 2011-06-01 17:39 +0900
      Re: pthread memory leaks Ian Collins <ian-news@hotmail.com> - 2011-06-01 21:05 +1200
        Re: pthread memory leaks Adam Skutt <askutt@gmail.com> - 2011-06-01 03:27 -0700
      Re: pthread memory leaks Adam Skutt <askutt@gmail.com> - 2011-06-01 03:16 -0700

csiph-web