Friday, November 09, 2007

Create a lock on the Windows.

In the some programme we have to read/write  file(parameter etc) once at a time, so we need a lock to keep the data safe. So we create a event to simulation this lock.

CreateEvent()
PulseEvent()
ResetEvent()
SeteEvent()

WaitSingleObject()

We can simulation a lock throuth this function.

Labels:


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]

Scrape It
Free Hit Counters
Scrape It