-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
are you sure you call accessMutex after createMutex?
Luca
pardis H wrote:
Hi
I have a big problem in measuring the time of thread's running time.
I want to log some times in a file so I defined the pointer of this file
in
hi thanks for your attention I did exactly as follows: globals_structtypes.h: FILE * f; struct ntopGlobals{...PthreadMutex fmutex;..} initialize.cvoid initMutex{createMutex(myGlobals.fmutex);} pbuf.cvoid queuePacket{
hi thanks for your attention I did exactly as follows: globals_structtypes.h: FILE * f; struct ntopGlobals{...PthreadMutex fmutex;..} initialize.cvoid initMutex{createMutex(myGlobals.fmutex);} pbuf.cvoid queuePacket{
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Again: are you sure you call accessMutex after createMutex?
Luca
pardis H wrote:
hi
thanks for your attention
I did exactly as follows:
globals_structtypes.h:
FILE * f;
struct ntopGlobals
{
.
..
PthreadMutex fmutex;
.
Hiand thanks for your attentionI think there is a misunderstanding running over here. and I think I have to explainwell first, sending my mail twice was a mistake because I could not take an Ack of my mail.I didn't ignore about what luca's said I just thought that he couldn't understatnd mymeaning