Skip to content
Snippets Groups Projects
Commit 8a882e14 authored by sof's avatar sof
Browse files

[project @ 1997-05-18 04:24:53 by sof]

QSem bug fix
parent 05f1dd60
No related merge requests found
......@@ -103,7 +103,7 @@ signalQSemN (QSemN sem) n
where
free avail [] = return (avail,[])
free avail ((req,block):blocked) =
if avail > req then
if avail >= req then
putMVar block () >>
free (avail-req) blocked
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment