*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
\f
+#if 0
+
+/* Futures have the following known bugs, which should be fixed before
+ including them in Guile:
+
+ - The implementation of the thread cache needs to be better so that
+ it behaves reasonable under heavy use.
+
+ - The dynamic state of a thread needs to be properly initialized
+ when it is retrieved from the cache.
+*/
+
#include "libguile/__scm.h"
#include "libguile/threads.h"
typedef struct scm_t_future {
SCM data;
- scm_t_mutex mutex;
- scm_t_cond cond;
+ scm_i_pthread_mutex_t mutex;
+ scm_i_pthread_cond_t cond;
int status;
int die_p;
} scm_t_future;
void scm_init_futures (void);
+#endif /* Futures are disabled for now. */
+
#endif /* SCM_FUTURES_H */
/*