Advertisement

1 - 10 of 111 containing alltags:("semaphore") (0 seconds)
Dear all, Is there any means that the process will release all the semaphore which the process locked before when the process is dead accidentally? Benson
Zones: Unix Systems ProgrammingDate Answered: 02/25/2002 Grade: A Views: 10
Hi all, This has been bugging me all night. I have an application in which the user has to click an action on the screen before a timer goes off. When the timeout occurs, I want to block all fur...
Zones: JavaScriptDate Answered: 03/10/2004 Grade: A Views: 0
Can anyone show me where I would add semaphores to this to ensure it always will print ready, then set, then go? #include <iostream.h> #include <pthread.h> using namespace std; void *ready(...
Zones: Operating SystemsDate Answered: 10/16/2004 Grade: A Views: 0
Hi! Any Idea on how to implement the Semaphore below! public class StundentLists extends Thread {     Lists listsHH;     Semaphore sema;     public StundentLists(Lists b) {      listsHH ...
Zones: Java, New To JavaDate Answered: 04/27/2005 Grade: A Views: 0
I have some JS code that I'm concerned about concurrency issues.  Do anyone know of some code that will allow me to protect a critical section in JS?  I've tried to google on how to create any of t...
Zones: JavaScriptDate Answered: 07/21/2005 Grade: B Views: 0
Hi all,  I have 2 threads : thread1 and thread2. How can I use semaphore to make sure thread1 will always run before thread2? Thanks a lot for details and explainations.
Zones: CDate Answered: 07/05/2006 Grade: A Views: 8
I have a create and delete semaphore problem. I've googled and found that semaphores seem to be a no-no, but this code has it in it. Is there a correction for this ? You help appreciated. --...
Zones: C++Date Answered: 01/11/2007 Grade: A Views: 0
Hi, I have the following code: ******************************************************* /*Here the two thread-functions*/ int _tmain(int argc, _TCHAR* argv[]) {       // initialisation des options ...
Zones: C++, Microsoft Visual C++Date Answered: 01/22/2007 Grade: A Views: 0
Hello all, can somebody please explain to me why the output of this program is : child parent child 2 parent 2 child parent child2 parent 2 ....... and not child child 2 pare...
Zones: Unix Systems ProgrammingDate Answered: 01/24/2007 Grade: B Views: 4
Hi, I am working on THREADING in VB.NET 2003. I want to know the basic functionality of "Semaphore" with an example. Can you please provide me brief explanation and sample code about it ? Please...
Zones: Visual Studio, MS Visual BasicDate Answered: 10/24/2007 Grade: C Views: 17