Re: [Ntop] no bady wanna help?! problem in mutexes

2006-01-07 Thread Luca Deri
-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

Re: [Ntop] no bady wanna help?! problem in mutexes

2006-01-07 Thread pardis H
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{

Re: [Ntop] no bady wanna help?! problem in mutexes

2006-01-07 Thread pardis H
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{

Re: [Ntop] no bady wanna help?! problem in mutexes

2006-01-07 Thread Luca Deri
-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; .

RE: [Ntop] no bady wanna help?! problem in mutexes

2006-01-07 Thread pardis H
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