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


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

Re: threading question

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.os.linux.development.apps
Subject Re: threading question
Date 2011-12-16 03:40 +0000
Message-ID <87zket5gm4.fsf@sapphire.mobileactivedefense.com> (permalink)
References (2 earlier) <jcain1$gsa$1@dont-email.me> <87wr9znmds.fsf@sapphire.mobileactivedefense.com> <jcaldt$2il$1@dont-email.me> <et3ke7977c15sman3qbgnd0k9n7vkso92r@4ax.com> <jce4ld$arh$1@dont-email.me>

Show all headers | View raw


Bill M <wpmccormick@just_about_everywhere.com> writes:
> Mark wrote, On 12/15/2011 9:19 AM:
>> On Wed, 14 Dec 2011 11:12:29 -0600, Bill M
>> <wpmccormick@just_about_everywhere.com>  wrote:
>>
>>> Let me ask my question a different way: What is the proper method of
>>> cleaning up threads before the main routine exits? If your previous
>>> response answers that question, maybe you could reform your response?
>>
>> Ensure that all the threads can respond to a termination request.
>> Send a termination request to all threads.
>> Call pthread_join() for each thread.
>
> Do I need to have a sigaction sa_handler for each thread?

Which part of "you are wrong and this is NOT necessary" is too
complicated for you?

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