[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restart a thread?
From: |
Ulrich Eckhardt |
Subject: |
Re: How to restart a thread? |
Date: |
Fri, 23 Feb 2007 22:28:04 +0100 |
User-agent: |
KNode/0.10.4 |
fabioscime@gmail.com wrote:
> Hi, I'm writing a background timer using /cc++/thread.h
[..]
> #include <cc++/thread.h>
Hmmm, I don't think those are part of GCC, so you need to rather ask the
ones that distributed that threading library. Otherwise, generally, you
can't "restart" threads. You can call a function from inside the thread
another time or start another thread, which come close to restarting.
Uli
--
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/