-----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 globals_structuretypes.h and defined a mutex for it in ntop Global > then I added a line createMutex in initialize.c in initmutex and then > before I use > the file I use > accessMutex and after using it I use releaseMutex but I have problem > inrunning and I face with > this error that tells me the mutex is UNINITIALIZED so what any thing > else I have to do to correct it > I used for example: > accessMutex(&myGlobals.fmutex,"queue"); > but I don't know the reason. > please help me because I really have to know some time in ntop. > thanks for your attention. > Best Regards > > ------------------------------------------------------------------------ > Yahoo! DSL > <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/ >> Something to write home about. Just $16.99/mo. or less > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDv6C6mMhDxnkh3zQRAnDVAJsF3KgFKtqz+6Q3ydlhhpNOtJteZACeP5jC mBlJxudDqam4zrvk8/X/is8= =GxtD -----END PGP SIGNATURE----- _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
