Skip to content

Commit b044b1d

Browse files
committed
notify_all
1 parent 5108786 commit b044b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/patterns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ class Synchronized_queue
902902
void stop()
903903
{
904904
stoped = true;
905-
cv.notify_one();
905+
cv.notify_all();
906906
}
907907
};
908908

0 commit comments

Comments
 (0)