Skip to content

Commit

Permalink
threadAnalysis: Only add definite tids to set of mustJoined thread
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Nov 1, 2023
1 parent 031dde1 commit 1d55756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/analyses/threadAnalysis.ml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ struct
s
in
match TS.elements (ctx.ask (Queries.EvalThread id)) with
| threads -> List.fold_left join_thread ctx.local threads
| [t] -> join_thread ctx.local t (* single thread *)
| _ -> ctx.local (* if several possible threads are may-joined, none are must-joined *)
| exception SetDomain.Unsupported _ -> ctx.local)
| _ -> ctx.local

Expand Down

0 comments on commit 1d55756

Please sign in to comment.