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:
parent
5b10a066dc
commit
8f4c6583d2
5
TO_DO
5
TO_DO
@ -13,14 +13,13 @@ STK:
|
|||||||
- inline c_interface functions (static #included?)
|
- inline c_interface functions (static #included?)
|
||||||
- look for a system regexp library before using the one in Yap.
|
- look for a system regexp library before using the one in Yap.
|
||||||
- see why tag2.pl is not compiling.
|
- 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.
|
- make docs/Makefile configurable.
|
||||||
- break up yap.tex.
|
- break up yap.tex.
|
||||||
- start devel.tex.
|
- start devel.tex.
|
||||||
- should sigactions be executed when Yap is waiting at the prompt?
|
- should sigactions be executed when Yap is waiting at the prompt?
|
||||||
- see if on_signal/3 works through the C interface as well.
|
- 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:
|
TO CHECK:
|
||||||
|
21
config.h.in
21
config.h.in
@ -111,25 +111,22 @@
|
|||||||
#undef MinStackSpace
|
#undef MinStackSpace
|
||||||
#undef MinHeapSpace
|
#undef MinHeapSpace
|
||||||
|
|
||||||
#undef UsrTrailSpace
|
#undef DefTrailSpace
|
||||||
#undef UsrStackSpace
|
#undef DefStackSpace
|
||||||
#undef UsrHeapSpace
|
#undef DefHeapSpace
|
||||||
|
|
||||||
#if (UsrTrailSpace > MinTrailSpace)
|
#if (DefTrailSpace < MinTrailSpace)
|
||||||
#define DefTrailSpace UsrTrailSpace
|
#undef DefTrailSpace
|
||||||
#else
|
|
||||||
#define DefTrailSpace MinTrailSpace
|
#define DefTrailSpace MinTrailSpace
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (UsrStackSpace > MinStackSpace)
|
#if (DefStackSpace < MinStackSpace)
|
||||||
#define DefStackSpace UsrStackSpace
|
#undef DefStackSpace
|
||||||
#else
|
|
||||||
#define DefStackSpace MinStackSpace
|
#define DefStackSpace MinStackSpace
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (UsrHeapSpace > MinHeapSpace)
|
#if (DefHeapSpace < MinHeapSpace)
|
||||||
#define DefHeapSpace UsrHeapSpace
|
#undef DefHeapSpace
|
||||||
#else
|
|
||||||
#define DefHeapSpace MinHeapSpace
|
#define DefHeapSpace MinHeapSpace
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -126,9 +126,9 @@ else
|
|||||||
AC_DEFINE(MinTrailSpace,( 32*SIZEOF_INT_P))
|
AC_DEFINE(MinTrailSpace,( 32*SIZEOF_INT_P))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
eval "AC_DEFINE(UsrHeapSpace,($yap_cv_heap_space))"
|
eval "AC_DEFINE(DefHeapSpace,($yap_cv_heap_space))"
|
||||||
eval "AC_DEFINE(UsrStackSpace,($yap_cv_stack_space))"
|
eval "AC_DEFINE(DefStackSpace,($yap_cv_stack_space))"
|
||||||
eval "AC_DEFINE(UsrTrailSpace,($yap_cv_trail_space))"
|
eval "AC_DEFINE(DefTrailSpace,($yap_cv_trail_space))"
|
||||||
|
|
||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
|
|
||||||
|
@ -226,9 +226,9 @@ parse_yap_arguments(int argc, char *argv[], yap_init_args *init_args)
|
|||||||
fprintf(stderr," -? Shows this screen\n");
|
fprintf(stderr," -? Shows this screen\n");
|
||||||
fprintf(stderr," -b Boot file (%s)\n", StartUpFile);
|
fprintf(stderr," -b Boot file (%s)\n", StartUpFile);
|
||||||
fprintf(stderr," -l Prolog file\n");
|
fprintf(stderr," -l Prolog file\n");
|
||||||
fprintf(stderr," -h Heap area in Kbytes (default: %d)\n", DefHeapSpace);
|
fprintf(stderr," -h Heap area in Kbytes (default: %d, minimum: %d)\n", DefHeapSpace, MinHeapSpace);
|
||||||
fprintf(stderr," -s Stack area in Kbytes (default: %d)\n", DefStackSpace);
|
fprintf(stderr," -s Stack area in Kbytes (default: %d, minimum: %d)\n", DefStackSpace, MinStackSpace);
|
||||||
fprintf(stderr," -t Trail area in Kbytes (default: %d)\n", DefTrailSpace);
|
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," -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," -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);
|
fprintf(stderr," -d YapOr option: Value of delayed release of load (default: %d)\n", init_args->DelayedReleaseLoad);
|
||||||
|
Reference in New Issue
Block a user