My first attempt to synchronize OPTYap with CVS
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@916 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -53,7 +53,7 @@ static void receive_signals(int s);
|
||||
** Local macros **
|
||||
** ---------------------- */
|
||||
|
||||
#define STRUCTS_PER_PAGE(STR_TYPE) ((PageSize - STRUCT_SIZE(struct page_header)) / STRUCT_SIZE(STR_TYPE))
|
||||
#define STRUCTS_PER_PAGE(STR_TYPE) ((Yap_page_size - STRUCT_SIZE(struct page_header)) / STRUCT_SIZE(STR_TYPE))
|
||||
|
||||
#ifdef STATISTICS
|
||||
#define INIT_PAGE_STATISTICS(PG) \
|
||||
@@ -165,7 +165,7 @@ void init_global(int n_workers, int sch_loop, int delay_load) {
|
||||
void init_local(void) {
|
||||
#ifdef YAPOR
|
||||
/* local data related to or-parallelism */
|
||||
LOCAL = REMOTE+worker_id;
|
||||
LOCAL = REMOTE + worker_id;
|
||||
LOCAL_top_cp = B_BASE;
|
||||
LOCAL_top_or_fr = GLOBAL_root_or_fr;
|
||||
LOCAL_load = 0;
|
||||
|
Reference in New Issue
Block a user