hi everyone,
i need some information on the get block algorithm used in buffer cache management. can anyone tell me where to get this info. i have to implement the algorithm in c.
i also need to use the algorithms brlese(block release),bread(block read) and breada(block read...
hello everyone.
i am trying to write a multithreaded prg with posix threads and semaphores.
the code is as follows
#define parg 2
#define NTHREADS 5
void *do_job(void *);
sem_t sid[NTHREADS];
pthread_t tid[NTHREADS];
int main()
{
int i,ret;
printf("about to create...
hi,
i need a little help in synchroinsing processes using semaphores. i need to create directories into which each semaphore will create its own files. ie a directory for each semaphore. these processe should have a menu which will consist of create file modify and sleep ie to switch to next...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.