add THOR to threads version.
This commit is contained in:
		
							
								
								
									
										3
									
								
								C/grow.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								C/grow.c
									
									
									
									
									
								
							@@ -28,6 +28,9 @@
 | 
			
		||||
#if HAVE_STRING_H
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#endif
 | 
			
		||||
#if THREADS
 | 
			
		||||
#include <opt.mavar.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if !HAVE_STRNCAT
 | 
			
		||||
#define strncat(s0,s1,sz)   strcat(s0,s1)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								H/Yap.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								H/Yap.h
									
									
									
									
									
								
							@@ -14,7 +14,7 @@
 | 
			
		||||
*************************************************************************/
 | 
			
		||||
 | 
			
		||||
#include "config.h"
 | 
			
		||||
#if defined(ENV_COPY) || defined(TABLING)
 | 
			
		||||
#if defined(ENV_COPY) || defined(TABLING) || defined(THREADS)
 | 
			
		||||
#include "opt.config.h"
 | 
			
		||||
#endif /* YAPOR || TABLING */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -488,14 +488,12 @@ static Int p_show_statistics_tabling(void) {
 | 
			
		||||
 | 
			
		||||
  return (TRUE);
 | 
			
		||||
}
 | 
			
		||||
#endif /* TABLING */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
static Int p_show_statistics_global_trie(void) {
 | 
			
		||||
  show_global_trie(SHOW_MODE_STATISTICS);
 | 
			
		||||
  return (TRUE);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif /* TABLING */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*********************************
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user