thread support fixes

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1462 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2005-11-17 13:40:18 +00:00
parent 7cd5cafe1c
commit d62ec41632
6 changed files with 325 additions and 294 deletions

View File

@@ -943,9 +943,9 @@ typedef struct array_entry
Int ArrayEArity; /* Arity of Array (positive) */
#if defined(YAPOR) || defined(THREADS)
rwlock_t ArRWLock; /* a read-write lock to protect the entry */
#endif
#if THREADS
unsigned int owner_id;
#endif
#endif
struct array_entry *NextAE;
Term ValueOfVE; /* Pointer to the actual array */