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


Groups > comp.os.linux.development.apps > #317

Re: threading question

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.os.linux.development.apps
Subject Re: threading question
Date 2011-12-14 15:48 +0000
Message-ID <8762hjp32c.fsf@sapphire.mobileactivedefense.com> (permalink)
References <jcae0f$if5$1@dont-email.me>

Show all headers | View raw


Bill M <wpmccormick@just_about_everywhere.com> writes:
> If I ctrl-c kill an daemon type application, will child threads
> created by the application also be killed or will they become zombie
> threads?

There is no such thing as 'a zombie thread', at least not in the sense
you are using the term (technically, a non-detached thread which has
exited will become 'a zombie thread' because the return value will be
kept somewhere until [if ever] another thread calls pthread_join in
order to receive that. While this is similar to 'zombie processes', I
haven't seen the term 'zombie thread' anywhere so far).

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

threading question Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-14 09:05 -0600
  Re: threading question Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-14 15:48 +0000
    Re: threading question Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-14 10:26 -0600
      Re: threading question Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-14 16:33 +0000
        Re: threading question Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-14 11:12 -0600
          Re: threading question Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-14 18:10 +0000
            Re: threading question Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-14 13:28 -0600
          Re: threading question Richard Kettlewell <rjk@greenend.org.uk> - 2011-12-14 18:30 +0000
          Re: threading question Mark <i@dontgetlotsofspamanymore.invalid> - 2011-12-15 15:19 +0000
            Re: threading question Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-15 15:42 +0000
            Re: threading question Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-15 18:50 -0600
              Re: threading question Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-16 03:40 +0000
                Re: threading question Bill M <wpmccormick@just_about_everywhere.com> - 2011-12-16 08:23 -0600

csiph-web