Lines Matching refs:slave
10 * range locking"). Some slave processes try to perform operations on
50 /* The operations the slave processes will try to perform */
92 void *slave(void *data);
253 P("Running slave num: %d\n", df->dpr->whoami);
255 slave((void *)df);
305 /* Synchronize slave processes */
423 int serverSendLockLocal(struct flock *request, int slave)
426 return write(dp.lclnt[slave][1], message, M_SIZE);
506 /* Add slave and server pipe file descriptors */
658 /* The main idea is to lock all the bytes in a file. Each slave process locks one byte.
661 * - To create a file of a length equal to the total number of slave processes
662 * - send the exact section to lock to each slave
673 /* Each slave process re-writes its own field to lock */
748 void *slave(void *data)