>There is also some problems with thread-specific storage in >su_uniqueid.c. Currently, I plan to solve the issue with pthread_once, >pthread_key and a cleanup function declared with GCC >__attribute__((destructor)) on Unix systems. I plan to call the >destructor fucntion from a DllMain() function in win32/64, but perhaps >someone more familiar with mingw could tell me how mingw gcc and >runtime implements __attribute__((destructor)) and what happens if >sofia-sip has defined its own DllMain()?
Why not calling pthread_key_delete on su_deinit(), without using __attribute__((destructor))? Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel