Usr{Heap,Stack,Trail}Space were not necessary

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@356 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
stasinos 2002-02-12 12:22:31 +00:00
parent 5b10a066dc
commit 8f4c6583d2
4 changed files with 17 additions and 21 deletions

5
TO_DO
View File

@ -13,14 +13,13 @@ STK:
- inline c_interface functions (static #included?)
- look for a system regexp library before using the one in Yap.
- see why tag2.pl is not compiling.
- readline is installed on thor, but is not "found" by configure and
is not working when manually forced in. (missing symbols, maybe because
there is no libtermcap.a?)
- make docs/Makefile configurable.
- break up yap.tex.
- start devel.tex.
- should sigactions be executed when Yap is waiting at the prompt?
- see if on_signal/3 works through the C interface as well.
- see how MPI libraries interact with YAP's signal handling.
- make the MPI interface able to pass infinite terms to MPI_Send().
TO CHECK:

View File

@ -111,25 +111,22 @@
#undef MinStackSpace
#undef MinHeapSpace
#undef UsrTrailSpace
#undef UsrStackSpace
#undef UsrHeapSpace
#undef DefTrailSpace
#undef DefStackSpace
#undef DefHeapSpace
#if (UsrTrailSpace > MinTrailSpace)
#define DefTrailSpace UsrTrailSpace
#else
#if (DefTrailSpace < MinTrailSpace)
#undef DefTrailSpace
#define DefTrailSpace MinTrailSpace
#endif
#if (UsrStackSpace > MinStackSpace)
#define DefStackSpace UsrStackSpace
#else
#if (DefStackSpace < MinStackSpace)
#undef DefStackSpace
#define DefStackSpace MinStackSpace
#endif
#if (UsrHeapSpace > MinHeapSpace)
#define DefHeapSpace UsrHeapSpace
#else
#if (DefHeapSpace < MinHeapSpace)
#undef DefHeapSpace
#define DefHeapSpace MinHeapSpace
#endif

View File

@ -126,9 +126,9 @@ else
AC_DEFINE(MinTrailSpace,( 32*SIZEOF_INT_P))
fi
eval "AC_DEFINE(UsrHeapSpace,($yap_cv_heap_space))"
eval "AC_DEFINE(UsrStackSpace,($yap_cv_stack_space))"
eval "AC_DEFINE(UsrTrailSpace,($yap_cv_trail_space))"
eval "AC_DEFINE(DefHeapSpace,($yap_cv_heap_space))"
eval "AC_DEFINE(DefStackSpace,($yap_cv_stack_space))"
eval "AC_DEFINE(DefTrailSpace,($yap_cv_trail_space))"
AC_CANONICAL_SYSTEM

View File

@ -226,9 +226,9 @@ parse_yap_arguments(int argc, char *argv[], yap_init_args *init_args)
fprintf(stderr," -? Shows this screen\n");
fprintf(stderr," -b Boot file (%s)\n", StartUpFile);
fprintf(stderr," -l Prolog file\n");
fprintf(stderr," -h Heap area in Kbytes (default: %d)\n", DefHeapSpace);
fprintf(stderr," -s Stack area in Kbytes (default: %d)\n", DefStackSpace);
fprintf(stderr," -t Trail area in Kbytes (default: %d)\n", DefTrailSpace);
fprintf(stderr," -h Heap area in Kbytes (default: %d, minimum: %d)\n", DefHeapSpace, MinHeapSpace);
fprintf(stderr," -s Stack area in Kbytes (default: %d, minimum: %d)\n", DefStackSpace, MinStackSpace);
fprintf(stderr," -t Trail area in Kbytes (default: %d, minimum: %d)\n", DefTrailSpace, MinTrailSpace);
fprintf(stderr," -w YapOr option: Number of workers (default: %d)\n", init_args->NumberWorkers);
fprintf(stderr," -sl YapOr option: Loop scheduler executions before look for hiden shared work (default: %d)\n", init_args->SchedulerLoop);
fprintf(stderr," -d YapOr option: Value of delayed release of load (default: %d)\n", init_args->DelayedReleaseLoad);