Skip to content

Commit 3137936

Browse files
committed
Ignore pthread_cond_t type in Access
1 parent fc7a738 commit 3137936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/domains/access.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module M = Messages
1010

1111
let is_ignorable_type (t: typ): bool =
1212
match t with
13-
| TNamed ({ tname = "atomic_t" | "pthread_mutex_t" | "pthread_rwlock_t" | "spinlock_t"; _ }, _) -> true
13+
| TNamed ({ tname = "atomic_t" | "pthread_mutex_t" | "pthread_rwlock_t" | "spinlock_t" | "pthread_cond_t"; _ }, _) -> true
1414
| TComp ({ cname = "lock_class_key"; _ }, _) -> true
1515
| TInt (IInt, attr) when hasAttribute "mutex" attr -> true
1616
| t when hasAttribute "atomic" (typeAttrs t) -> true (* C11 _Atomic *)

0 commit comments

Comments
 (0)