From c933d8cfbf5a28150f57059ac1b09c606d93be04 Mon Sep 17 00:00:00 2001 From: Juho Snellman Date: Mon, 18 Jun 2007 17:16:54 +0000 Subject: [PATCH] 1.0.6.53: oops, forgot to "cvs add" some new files --- src/runtime/gencgc.h | 22 ++++++++++++++++++++++ src/runtime/pthread-lutex.h | 24 ++++++++++++++++++++++++ version.lisp-expr | 2 +- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/runtime/gencgc.h create mode 100644 src/runtime/pthread-lutex.h diff --git a/src/runtime/gencgc.h b/src/runtime/gencgc.h new file mode 100644 index 0000000..ed67850 --- /dev/null +++ b/src/runtime/gencgc.h @@ -0,0 +1,22 @@ +/* + * This software is part of the SBCL system. See the README file for + * more information. + * + * This software is derived from the CMU CL system, which was + * written at Carnegie Mellon University and released into the + * public domain. The software is in the public domain and is + * provided with absolutely no warranty. See the COPYING and CREDITS + * files for more information. + */ + +#ifndef __GENCGC_H__ +#define __GENCGC_H__ + +#if defined(LUTEX_WIDETAG) +#include "genesis/lutex.h" + +extern void gencgc_register_lutex (struct lutex *lutex); +extern void gencgc_unregister_lutex (struct lutex *lutex); +#endif + +#endif /* __GENCGC_H__ */ diff --git a/src/runtime/pthread-lutex.h b/src/runtime/pthread-lutex.h new file mode 100644 index 0000000..69f27c0 --- /dev/null +++ b/src/runtime/pthread-lutex.h @@ -0,0 +1,24 @@ +/* + * This software is part of the SBCL system. See the README file for + * more information. + * + * This software is derived from the CMU CL system, which was + * written at Carnegie Mellon University and released into the + * public domain. The software is in the public domain and is + * provided with absolutely no warranty. See the COPYING and CREDITS + * files for more information. + */ + +#ifndef __PTHREAD_LUTEX_H__ +#define __PTHREAD_LUTEX_H__ + +#if defined(LISP_FEATURE_SB_THREAD) && defined(LISP_FEATURE_SB_LUTEX) + +typedef unsigned long tagged_lutex_t; + +extern int lutex_init (tagged_lutex_t tagged_lutex); +extern int lutex_destroy (tagged_lutex_t tagged_lutex); + +#endif + +#endif /* __PTHREAD_LUTEX_H__ */ diff --git a/version.lisp-expr b/version.lisp-expr index 19e4450..ca3c18d 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"1.0.6.52" +"1.0.6.53" -- 1.7.10.4