10th Sep 2020, 4:42 PM
Osazuwa Lawson
Osazuwa Lawson - avatar
7 Answers
0
//add import import java.util.concurrent.Semaphore;
11th Sep 2020, 11:50 AM
zemiak
+ 2
Paste you complete code i think its not complete becoz in last lines you missed Curly bracket......
10th Sep 2020, 4:53 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Error =>Code is truncated... Save in playground and post link here... https://www.sololearn.com/post/75089/?ref=app Edit : where is semaphore class you are referring...? Osazuwa Lawson you should add it...
10th Sep 2020, 4:49 PM
Jayakrishna 🇼🇳
+ 1
soo where is the Semaphore class ?
10th Sep 2020, 5:07 PM
Rei
Rei - avatar
0
I've Posted the code link already
10th Sep 2020, 4:58 PM
Osazuwa Lawson
Osazuwa Lawson - avatar
0
Thanks zemiak. it worked.. I really appreciate
11th Sep 2020, 12:52 PM
Osazuwa Lawson
Osazuwa Lawson - avatar
0
Lol Rei, the Semaphore is mechanism used in threads for making threads access a shared resource simultaneously. It is not a normal class sha
11th Sep 2020, 12:54 PM
Osazuwa Lawson
Osazuwa Lawson - avatar