Searched refs:PhID (Results 1 – 2 of 2) sorted by relevance
71 int PhID = *(int *)ID; in philosopher() local76 think(PhID); in philosopher()82 state[PhID] = hungry; in philosopher()83 test(PhID); in philosopher()88 if (-1 == sem_wait(&ph[PhID])) { in philosopher()92 eat(PhID); in philosopher()98 state[PhID] = thinking; in philosopher()99 if ((PhID - 1) < 0) in philosopher()100 prePH = PH_NUM + (PhID - 1); in philosopher()102 prePH = (PhID - 1) % PH_NUM; in philosopher()[all …]
8686 …8 ;"="=:T,;V/C^7YtM>Y3Hb<1L&<V18R.3L(6P,7Q-871J((A!PhID]=,1 :"=:7054!;*D"…