ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Windows/timer_windows.cpp
(Generate patch)

Comparing BasiliskII/src/Windows/timer_windows.cpp (file contents):
Revision 1.6 by gbeauche, 2006-05-01T06:12:50Z vs.
Revision 1.7 by gbeauche, 2006-05-01T06:14:08Z

# Line 219 | Line 219 | static HANDLE idle_lock = NULL;
219  
220   idle_sentinel::idle_sentinel()
221   {
222        LOCK_IDLE;
222          idle_sem_ok = 1;
223          if ((idle_sem = CreateSemaphore(0, 0, 1, NULL)) == NULL)
224                  idle_sem_ok = 0;
225          if ((idle_lock = CreateMutex(NULL, FALSE, NULL)) == NULL)
226                  idle_sem_ok = 0;
228        UNLOCK_IDLE;
227   }
228  
229   idle_sentinel::~idle_sentinel()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines