![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| semaphore | raguramtgr | UNIX for Dummies Questions & Answers | 7 | 06-15-2009 09:39 AM |
| Semaphore | Jaken | Shell Programming and Scripting | 2 | 04-04-2009 05:10 PM |
| Semaphore problem.... | Dreams in Blue | UNIX for Advanced & Expert Users | 1 | 05-29-2008 12:41 AM |
| Semaphore debugging | ptprabu | High Level Programming | 5 | 11-28-2007 04:09 PM |
| semaphore | yls177 | UNIX for Dummies Questions & Answers | 1 | 10-08-2002 11:18 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
The way I understand it (someone correct me if this is wrong), when you've got a certain shared resource that, for one reason or another, can only be accessed by one process at a time, you'd use a semaphore.
Basically, the semaphore is a variable that keeps track of all the processes that currently want to access the shared resource and it makes sure only one process at a time actually accesses it. Read these for more info: http://www.ecst.csuchico.edu/~beej/g...emaphores.html http://www.cs.cf.ac.uk/Dave/C/node26.html http://metalink.oracle.com/cgi-bin/c...e_cr.cgi?20766 http://www.cim.mcgill.ca/~franco/OpS...es/node30.html http://www.acm.uiuc.edu/lug/presenta...m-5.html#ss5.5 |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|