ACHIEVEMENT 4 TASKS BY @jerryivan : APPLYING MARKDOWN.
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.
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.
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.
ADVANTAGES | DISADVANTAGES |
---|---|
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
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.
Notes: You need to add your previous achievements.
This write up shows that you have understood the Task, well done,keep up.
Thanks @iddy, I appreciate very much
You are welcome
Hi, @jerryivan,
Your post has been supported by @tocho2 from the Steem Greeter Team.