Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 6th, 2018
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
flag = 0
threadA {
…
flag = 1
cv.notify()
}
threadB {
…
while flag = 0 {
cv.wait()
}
flag = 0
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
threading2
Python | 7 min ago | 2.75 KB
Untitled
Java | 26 min ago | 0.18 KB
Custom Doom GZdoom zscript sounds
Bash | 31 min ago | 1.06 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 47 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 50 min ago | 0.39 KB
Doom zscript gzdoom sound file creator
Bash | 1 hour ago | 0.15 KB
My DataStore Style Break In In Lobby
CSS | 1 hour ago | 6.55 KB
trigger & cursor
MySQL | 1 hour ago | 1.70 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!