Meaning

  • Follow


Can anyone give me the meaning of semaphore and queues?For what sake it
is used?I checked in the site but not understood properly.

0
Reply vgvr620034 (9) 12/22/2005 1:46:27 PM

raghu wrote:
> Can anyone give me the meaning of semaphore and queues?For what sake it
> is used?I checked in the site but not understood properly.

Which of the ~2500000 hits when googling for 'semaphore'
doesn't give you enough information ?
Which 'site' did you check?


/S
-- 
Stefan Naewe
naewe.s_AT_atlas_DOT_de
0
Reply please25 (87) 12/22/2005 2:05:41 PM


Hi,

raghu wrote:

> Can anyone give me the meaning of semaphore and queues?For what sake
> it is used?I checked in the site but not understood properly.

Semaphores are flags with an atomic test&set operation. That means, if
one process want to have a ressource, it checks wether this resource
ist free and if it is free it will set it occupied. This test&set may
not be interrupted, because if in the interrupt the state changes, the
check is incorrect. Semaphores are used for all ressource not shareble.

Queues are data structures with an atomic put and get. So if one
process puts something in the queue this something will not get mixed
up with any other something put in the queue. Queues are used to pass
data from many processes to one process.

Regards, Kurt
-- 
Kurt Harders
PiN -Pr�senz im Netz GITmbH
mailto:news@kurt-harders.de
http://www.pin-gmbh.com
0
Reply news8690 (21) 12/22/2005 2:07:19 PM

"raghu" <vgvr620034@gmail.com> wrote in message 
news:1135259187.859719.44260@g47g2000cwa.googlegroups.com...
> Can anyone give me the meaning of semaphore and queues?For what sake it
> is used?I checked in the site but not understood properly.

Semaphore is a signalling system, using flags and arm positions to denote 
alphanumeric characters.
The CND (Campaign for Nuclear Disarmament) symbol is an overlay of the 
diagrams for the semaphore letters "C" "N" "D".

Queues are mechanisms for sucking the lifeblood out of shoppers or post 
office customers.

HTH

BTW, when is our homework assignment due? 


0
Reply DeepReset (25) 12/22/2005 9:05:10 PM

"Deep Reset" <DeepReset@hotmail.com> wrote in message
news:dof4e6$h3p$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
> "raghu" <vgvr620034@gmail.com> wrote in message
> news:1135259187.859719.44260@g47g2000cwa.googlegroups.com...
> > Can anyone give me the meaning of semaphore and queues?For what sake it
> > is used?I checked in the site but not understood properly.
>
> Semaphore is a signalling system, using flags and arm positions to denote
> alphanumeric characters.
> The CND (Campaign for Nuclear Disarmament) symbol is an overlay of the
> diagrams for the semaphore letters "C" "N" "D".
>


Do you mean

    |
   /|\

That is just N


   / \

superimposed on D

    |
    |

No C involved

   \
    |



0
Reply rphenry (125) 12/23/2005 9:08:43 PM

4 Replies
61 Views

(page loaded in 0.074 seconds)


Reply: