Public Attributes | |
list< location * > | locations |
int | waiting_clients |
pthread_cond_t | free |
a file in this scope is characterized by his name (which is the index of a file object in the map), and the locations on which the file can be found. We also have a condition variable which is used to implement the notification process.
Definition at line 62 of file repository.h.
pthread_cond_t repository_class::repository_class::file::free |
Definition at line 65 of file repository.h.
Referenced by repository_class::add_file(), repository_class::release_file(), and repository_class::wait_file().
list<location*> repository_class::repository_class::file::locations |
Definition at line 63 of file repository.h.
Referenced by repository_class::add_file(), repository_class::obtain_file(), repository_class::release_file(), repository_class::remove_file(), and repository_class::wait_file().
int repository_class::repository_class::file::waiting_clients |
Definition at line 64 of file repository.h.
Referenced by repository_class::add_file(), repository_class::remove_file(), and repository_class::wait_file().