fix number of overflow bugs affecting threaded version
make current_op faster. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1615 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -261,14 +261,16 @@ IsModProperty (int flags)
|
||||
|
||||
|
||||
/* operator property entry structure */
|
||||
typedef struct
|
||||
typedef struct operator_entry
|
||||
{
|
||||
Prop NextOfPE; /* used to chain properties */
|
||||
PropFlags KindOfPE; /* kind of property */
|
||||
#if defined(YAPOR) || defined(THREADS)
|
||||
rwlock_t OpRWLock; /* a read-write lock to protect the entry */
|
||||
#endif
|
||||
Atom OpName; /* atom name */
|
||||
Term OpModule; /* module of predicate */
|
||||
struct operator_entry *OpNext; /* next in list of operators */
|
||||
BITS16 Prefix, Infix, Posfix; /* precedences */
|
||||
} OpEntry;
|
||||
#if USE_OFFSETS_IN_PROPS
|
||||
|
Reference in New Issue
Block a user