tahamajs's picture
download
raw
328 Bytes
// Mutual exclusion lock.
#pragma once
struct spinlock {
uint locked; // Is the lock held?
// For debugging:
char *name; // Name of lock.
struct cpu *cpu; // The cpu holding the lock.
uint pcs[10]; // The call stack (an array of program counters)
// that locked the lock.
};

Xet Storage Details

Size:
328 Bytes
·
Xet hash:
3dc784499d270b587f636ca82e765bb39f84eefc18db9af75d68fcfeed952495

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