Note that there are some explanatory texts on larger screens.

plurals
  1. POSignalled and non-signalled state of event
    text
    copied!<p>This could be a non programming question to all,i did read about the thread synchronization objects such as <strong>event</strong> and how it is set as signalled or non-signalled state . However i couldn't understand these terms <strong>signalled and non-signalled</strong> .Each one has expressed in different ways and i'm bit confused.</p> <ol> <li><p><a href="http://scc.qibebt.cas.cn/docs/compiler/intel/11.1/Intel%20Fortran%20Compiler%20for%20Linux/main_for/optaps/fortran/optaps_mutli_pgvshare_f.htm">This link</a> states that</p> <blockquote> <p>A signaled state indicates a resource is available for a process or thread to use it. A not-signaled state indicates the resource is in use.</p> </blockquote></li> <li><p>I got an power point presentation from an university site which states that</p> <blockquote> <p>An object that is in the signaled state will not cause a thread that is waiting on the object to block and object that is not in the signaled state will cause any thread that waits on that object to block until the object again becomes signaled.</p> </blockquote></li> <li><p><a href="http://www.techinterviews.com/windows-programming-interview-questions">This third link</a> states this</p> <blockquote> <p>An event is in signaled state means that it has the capacity to release the threads waiting for this event to be signaled. An event is in non signaled state means that it will not release any thread that is waiting for this particular event.</p> </blockquote></li> </ol> <p>A simple explanation on this concept with an example would be really helpful.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload