1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 14:21:10 +02:00

Minor scm_thread refactoring

* libguile/threads.h (scm_thread): Move stack base to be closer to
  related fields, and add a comment for why it's there.
This commit is contained in:
Andy Wingo 2018-06-27 18:29:46 +02:00
parent 18431e6e63
commit 154a5de3d7

View file

@ -99,9 +99,11 @@ struct scm_thread {
SCM continuation_root;
SCM_STACKITEM *continuation_base;
/* Stack base. Used when checking for C stack overflow. */
SCM_STACKITEM *base;
/* VM state for this thread. */
struct scm_vm vm;
SCM_STACKITEM *base;
};
#define SCM_I_IS_THREAD(x) SCM_SMOB_PREDICATE (scm_tc16_thread, x)