ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/video_vosf.h
(Generate patch)

Comparing BasiliskII/src/Unix/video_vosf.h (file contents):
Revision 1.7 by cebix, 2000-10-13T16:47:52Z vs.
Revision 1.8 by cebix, 2000-11-03T18:21:42Z

# Line 249 | Line 249 | static inline void do_handle_screen_faul
249          
250          const int page  = (addr - mainBuffer.memStart) >> mainBuffer.pageBits;
251          caddr_t page_ad = (caddr_t)(addr & ~(mainBuffer.pageSize - 1));
252 < #ifdef HAVE_PTHREADS
253 <        pthread_mutex_lock(&Screen_draw_lock);
254 < #endif
252 >        LOCK_VOSF;
253          PFLAG_SET(page);
254          mprotect(page_ad, mainBuffer.pageSize, PROT_READ | PROT_WRITE);
255 < #ifdef HAVE_PTHREADS
258 <        pthread_mutex_unlock(&Screen_draw_lock);
259 < #endif
255 >        UNLOCK_VOSF;
256   }
257  
258   #if defined(HAVE_SIGINFO_T)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines