tahamajs's picture
download
raw
388 Bytes
// priority lock
struct prioritylock {
uint locked; // Is the lock held?
struct spinlock lk; // spinlock protecting this priority lock
int inqueue; // number of processes waiting in queue
int lockreq[NPROC]; // pid of processes which requested priority lock
// For debugging:
char* name; // Name of lock.
int pid; // Process holding lock
};

Xet Storage Details

Size:
388 Bytes
·
Xet hash:
e9e60615726e09e7af4b37ce3ca245ec635a9578d006d9e055a4309c6797dea8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.