6 Topics
|
|
Hi, I would linke to know what is the best way to synchronise the shared memory segment. is threads usage are also advisible whie synhcronising the shared memory segement. in what circumstances we should use threads or semaphore to synchronize the memory segment. |
|
Hi, in below code snippet i am trying to resume again forground process by issuing fg %1 in code but still it doesn't work. usually after issuing fg %1 from command prompt it should alwaysstart first suspended process but same is not happening and i am getting error like ; … |
|
Okay so i'm trying to make a chat application using sockets, and i want them both to be able to write and read simultaneously. So i did some research and found that I/O multiplexing like select() will fix this problem. But I still have one problem. After I compile it … |
|
Following is the one of code written by me for shared memory. Problem is that program donot come outside from marked loop and read numbers infinitely. "common.h" [CODE] struct common { int a[10],b[10],c[10],flag; }; [/CODE] p1.c [CODE] #include<stdio.h> #include<unistd.h> #include<stdlib.h> #include<sys/shm.h> #include"common.h" int main() { int running=1; void *shm=(void *)0; … |
|
My distributed operating system lab requires me to implement the election algorithm (bully and ring) in c. My current idea is to run several instances of an ouput file on different terminal, each symbolizing a different process. Now i'm facing the following problem and if you guys could just point … |
|
Hello, I created an application, that scans remote IIS servers/websites and get their location of log files. I need to check the amount of the log files. Obviously the log files are located in default location (customer decision :D ). Problem is that those locations are not as shared folders, … |
The End.