[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8180 - in libmicrohttpd: . src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8180 - in libmicrohttpd: . src/daemon |
Date: |
Mon, 2 Feb 2009 22:52:37 -0700 (MST) |
Author: grothoff
Date: 2009-02-02 22:52:37 -0700 (Mon, 02 Feb 2009)
New Revision: 8180
Modified:
libmicrohttpd/README
libmicrohttpd/src/daemon/daemon.c
Log:
docu
Modified: libmicrohttpd/README
===================================================================
--- libmicrohttpd/README 2009-02-03 05:51:14 UTC (rev 8179)
+++ libmicrohttpd/README 2009-02-03 05:52:37 UTC (rev 8180)
@@ -37,8 +37,11 @@
main application should install a signal handler to handle SIGPIPE.
libmicrohttpd should work well on GNU/Linux, BSD, OS X, W32 and z/OS.
-Note that HTTPS is not supported on z/OS (yet).
-We also have reports of users using it on vxWorks.
+Note that HTTPS is not supported on z/OS (yet). We also have reports
+of users using it on vxWorks. Note that on platforms where the
+compiler does not support the "constructor" attribute, you must call
+"MHD_init" before using any MHD functions and "MHD_fini" after you are
+done using MHD.
Notes on compiling on z/OS:
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2009-02-03 05:51:14 UTC (rev 8179)
+++ libmicrohttpd/src/daemon/daemon.c 2009-02-03 05:52:37 UTC (rev 8180)
@@ -1132,7 +1132,7 @@
/**
* Initialize the signal handler for SIGALRM.
*/
-void __attribute__ ((constructor)) MHD_pthread_handlers_ltdl_init ()
+void __attribute__ ((constructor)) MHD_init ()
{
#ifndef WINDOWS
/* make sure SIGALRM does not kill us */
@@ -1150,7 +1150,7 @@
#endif
}
-void __attribute__ ((destructor)) MHD_pthread_handlers_ltdl_fini ()
+void __attribute__ ((destructor)) MHD_fini ()
{
#if HTTPS_SUPPORT
if (0 != pthread_mutex_destroy(&MHD_gnutls_init_mutex))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8180 - in libmicrohttpd: . src/daemon,
gnunet <=