hi guys,
i was able to solve the prob in my code. the main prob was that posix threads do not accept an initialization from 1 to 5 in an array of five they only accept an initiallization from 0 to 4. ofcourse i did another mistake in my code which i did not notice in the multitude off...
i am already following the book and need more material besides that book.
i was saying that i need to use the RAM(Random Access memory) to implement these algos and needed some info on how to programme in RAM
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.