Skip to content

Commit

Permalink
sched_yield
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Oct 1, 2023
1 parent 92528b1 commit 68f7ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ let posix_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("nanosleep", unknown [drop "req" [r]; drop "rem" [w]]);
("setpriority", unknown [drop "which" []; drop "who" []; drop "prio" []]);
("getpriority", unknown [drop "which" []; drop "who" []]);
("sched_yield", unknown []);
]

(** Pthread functions. *)
Expand Down Expand Up @@ -1096,7 +1097,6 @@ let invalidate_actions = [
"umount", readsAll;(*safe*)
"scandir", writes [1;3;4];(*keep [1;3;4]*)
"unlink", readsAll;(*safe*)
"sched_yield", readsAll;(*safe*)
"sigdelset", readsAll;(*safe*)
"sigwait", writesAllButFirst 1 readsAll;(*drop 1*)
"bindtextdomain", readsAll;(*safe*)
Expand Down

0 comments on commit 68f7ff8

Please sign in to comment.