![]() |
|
#1
|
|||
|
|||
Problem using pthreadHi there,
I’m trying out on a simple example to read and write values at the same time using the mutex and condition (so that the write process will only execute after specific number of samples). I simply generated a vector of integers (in global_data) and will like to save it as binaries in an output (.log) file. However, I’ve got a problem trying to get it working. It seems like the writeval function didn’t get “triggered” after the condition is met. Please kindly advise me if I'm missing something here. Thanks for any help in advance. CPP / C++ / C Code:
|
|||
|
#2
|
|||
|
|||
Re: Problem using pthreadCPP / C++ / C Code:
|
|
#3
|
|||
|
|||
Re: Problem using pthreadalso :
|
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphic problem in Unreal Tournament 2004 | zerox | Computer Software Forum - Games | 10 | 09-Oct-2005 13:31 |
| Runtime Problem involving "printf" in C Program | supamakia | C Programming Language | 2 | 09-Oct-2005 11:09 |
| a significant problem after installing Xp | mohammad | Computer Software Forum - Windows | 10 | 09-Aug-2005 08:03 |
| String problem | vaha | C Programming Language | 3 | 24-May-2005 19:21 |
| Another FX 5600 problem (but with details that might shed light on this) | BobDaDuck | Computer Hardware Forum | 2 | 16-Apr-2004 08:53 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The