-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
In the Faneuil Hall problem hint, it appears that two variables have been omitted. Let's introduce these variables in a more formal manner to maintain consistency with the existing text. After that, we will incorporate the additional notes within the main passage:
judge = 0
allSignedIn = Semaphore(0)
Including these variables, the complete code snippet will look as follows:
noJudge = Semaphore(1)
entered = 0
checked = 0
judge = 0
mutex = Semaphore(1)
confirmed = Semaphore(0)
allSignedIn = Semaphore(0)
Now, let's incorporate the additional notes:
judgeshows whether the judge is entered or not.
allSignedInrepresents that the certificates of all immigrants have been signed.
Metadata
Metadata
Assignees
Labels
No labels