Meaning
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Meaning

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
raghu
Guest





Posted: Thu Dec 22, 2005 5:15 pm    Post subject: Meaning Reply with quote

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.
Back to top
Kurt Harders
Guest





Posted: Thu Dec 22, 2005 5:15 pm    Post subject: Re: Meaning Reply with quote

Hi,

raghu wrote:

Quote:
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
Back to top
Stefan Näwe
Guest





Posted: Thu Dec 22, 2005 5:15 pm    Post subject: Re: Meaning Reply with quote

raghu wrote:
Quote:
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
Back to top
Deep Reset
Guest





Posted: Thu Dec 22, 2005 9:05 pm    Post subject: Re: Meaning Reply with quote

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?
Back to top
Nora



Joined: 29 Aug 2005
Posts: 3

Posted: Thu Dec 29, 2005 10:41 pm    Post subject: Reply with quote

I come to this forum sometimes to read and learn and find that there are some posts making fun of people who are asking questions.

Also- I really don't want to learn the wrong information. As in I'm thinking some of the replies to this post are poking fun and give incorrect info.
Is this forum only for the very advanced or the very educated? If so I think it is a mistake, because those of us beginners will someday be able to tutor others.

NNN
Back to top
View user's profile Send private message
Nora



Joined: 29 Aug 2005
Posts: 3

Posted: Thu Dec 29, 2005 10:44 pm    Post subject: Reply with quote

Oh- and even if you look on google, the answer to a simple question is usually clearer when explained by an experienced programmer in simple language.
I think if you think someone didn't understand enuf of what they read on google don't say anything- why make learning a negative thing?
NNN
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB