|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
I am looking for C program source code. Could you please help me in finding the source code of the required mentioned below.
Task that I need to complete: Write a program to create multiple threads (one master thread and rest worker threads) and using the threads write into and read from shared memory Restrictions: Only one thread should be able to read at any instant of time into shared memory region. Only one thread should be able to write at any instant of time into shared memory region. Worker threads should inform the master thread after every read and write operation. Master thread inform the worker thread (which is waiting to acquire shared memory region) that read or write operation is successful and it can acquire the memory for either reading and writing operations. |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hacking Applications With Memory Editors | TcM | Security Tutorials | 8 | 06-07-2008 01:52 PM |
| Tutorial: Java Threads | Jordan | Java Tutorials | 1 | 05-17-2008 11:37 AM |
| Virtual Memory ... Windows XP | mindsurfer | Computer Hardware | 1 | 11-01-2007 07:38 PM |
| Need help with "a multi-threaded program using POSIX thread library" | Gordack | C and C++ | 0 | 10-28-2007 01:08 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |