fix excessive pruning in meta-calls

fix Term->int breakage in compiler
improve JPL (at least it does something now for amd64).


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1264 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2005-03-13 06:26:13 +00:00
parent 7f481cef24
commit 59561e2688
20 changed files with 146 additions and 48 deletions

View File

@@ -201,7 +201,7 @@ p_thread_self(void)
return Yap_unify(MkIntegerTerm(worker_id), ARG1);
}
int
Int
Yap_thread_self(void)
{
if (pthread_getspecific(Yap_yaamregs_key) == NULL)
@@ -209,7 +209,7 @@ Yap_thread_self(void)
return worker_id;
}
int
CELL
Yap_thread_create_engine(thread_attr *ops)
{
int new_id = allocate_new_tid();
@@ -225,7 +225,7 @@ Yap_thread_create_engine(thread_attr *ops)
return TRUE;
}
int
Int
Yap_thread_attach_engine(int wid)
{
pthread_mutex_lock(&(ThreadHandle[wid].tlock));
@@ -241,7 +241,7 @@ Yap_thread_attach_engine(int wid)
return TRUE;
}
int
Int
Yap_thread_detach_engine(int wid)
{
pthread_mutex_lock(&(ThreadHandle[wid].tlock));
@@ -252,7 +252,7 @@ Yap_thread_detach_engine(int wid)
return TRUE;
}
int
Int
Yap_thread_destroy_engine(int wid)
{
pthread_mutex_lock(&(ThreadHandle[wid].tlock));