![]() |
|
#1
|
|||
|
|||
How to resume thread at the specific time instance?Dear all,
I met one problem about resuming the thread. The thread function init() should be executed when the thread test_thread() is resumed. However, it is never done by my following snippet of code as follows. I don't know where the problem is. Can you help me a little? Thanks in advance, Bests, L.M Code: CPP / C++ / C Code:
Last edited by LuciWiz : 20-Jan-2007 at 14:03.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#2
|
|||
|
|||
Re: How to resume thread at the specific time instance?Are you sure? I compiled the below code with gcc (EDIT: converted from C++ to C, since this is the C forum) and ran it on Windows XP SP2:
CPP / C++ / C Code:
Code:
|
Recent GIDBlog
Halfway done! by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| constructors/classes | mapes479 | C++ Forum | 3 | 19-Nov-2006 17:34 |
| Reading from a stream for a specific time | a3.charles | C Programming Language | 7 | 27-Jul-2006 06:00 |
| Thread | itch | C++ Forum | 7 | 10-May-2006 15:10 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 15:13 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The