ACHIEVEMENT 4 TASKS BY @jerryivan : APPLYING MARKDOWN.

in Newcomers' Community3 years ago

3jpR3paJ37V8JxyWvtbhvcm5k3roJwHBR4WTALx7XaoRovo9L8UQk4SBBYRPcH2Xu73rJnWmWPXk8vvpS6NHw7kaEuhsUWMFWkEFkbE6NNaQMbDzewTPrEgmX14zYgCvzXDmY.png
source

Hello my fellow steemians how you doing. Am here again to present my Achievement 4 task, but before that I want to thank all the personnel in this community for their love and support towards me. I appreciate very much and I say may God bless you all.

Today i will be sharing with you on the subject Semaphore with the application of markdown.

SEMAPHORE

A Semaphore is defined simply as a variable that is non-negative and shared between or among thread. It is a signally mechanism and a thread that is waiting on a Semaphore can be signal by another thread. A Semaphore is a key that permits a tasks to carry out some of it's operations or to access a resource.

It uses two atomic operation which is the wait and signal of process synchronization.

A Semaphore allows or disallows access to resources.

TYPES OF SEMAPHORE

We have two basically types of Semaphore and they are

  • The Counting Semaphore
  • The Binary Semaphore.

The counting Semaphore uses a count that helps tasks to be acquired or released numerous times. If the initial count is zero then the counting Semaphore should be created in the unavailable state.

When the initial count is greater than zero for instance then the Semaphore is being created in the available state and the number of tokens it acquires equals it's count.

A Binary Semaphore are quite similar to counting Semaphore but their values is restricted to zeros and one. In this type of Semaphore the wait operation works only if the Semaphore is equal to one and the signal operation works if the Semaphore is equal to zero.

Since we have seen the the meaning and types of Semaphore, we shall now look at the advantages and disadvantages of Semaphores.

ADVANTAGESDISADVANTAGES
They allow flexible management resources.They are more prone to programmer error.
Semaphore are always machine independent.The Operating system has to keep track of all the calls to wait and then signal the semaphore.
They do not allow multiple processess to enter the important areas.In order to avoid deadlock in semaphore, the wait and signal operation are expected to be executed in the correct order and manner.

I have successfully made my Achievement 4 to be in a presentable way by applying markdown.
Thanks for your guidelines, I appreciate.

To the attention of:
@cryptokannon
@whitestallion
@bright-obias
@ngoenyi
@eberchi10

Sort:  
Helloo @jerryivan. I am Alejandro, one of the Greeter Helpers team members.

I stop by to inform you that I have successfully verified your achievement. You can now continue with the program and perform your achievement #5, which is called understanding the Steem tools. Here is the link to a post about it, so you can develop your next activity. Remember that the achievements' posts must be posted within the Newcomers' Community. Success for you.

Important information: congratulations for making it this far and performing your achievements. From now on, you may be eligible to be part of the support program for newcomers called 500SP Minnowsupport. I invite you to continue performing your other achievements.

TASK RATE
: 2

Notes: You need to add your previous achievements.

 3 years ago 

This write up shows that you have understood the Task, well done,keep up.

 3 years ago 

Thanks @iddy, I appreciate very much

 3 years ago 

You are welcome

 3 years ago 

Hi, @jerryivan,

Your post has been supported by @tocho2 from the Steem Greeter Team.

Coin Marketplace

STEEM 0.15
TRX 0.12
JST 0.025
BTC 54852.52
ETH 2440.67
USDT 1.00
SBD 2.18