|
|
 |
Published by Va Milushnikov
Click here for more information about this publisher...
|
 |
|
Date Posted: |
January 18th, 2001
|
|
|
Last Updated: |
January 18th, 2001
|
|
|
License: |
Public Domain |
|
|
Downloads: |
227 total; 1 recently |
|
|
Page Views: |
4,861 total |
|
|
User Rating: |
awaiting 10 votes |
 |
|
Jump to the Downloads section |
|
About libHCL:
C interface for BNode Lock()/Unlock()
I dont know, how to create BNode from FILE,
so if you need lock some file, you must
define and initialize locker variable by file
path ...
If you create file, so while file size is 0, you
cant initialise locker.
#include "HCL/hcl.h"
FILE* f;
CLocker lf;
f=fopen(path, ...);
newLocker(&lf, path); /*for new file locker is not created*/
...
LockLocker(lf);
...
UnlockLocker(lf);
...
If you delete or set to new file the instance
of locker while file is locked, automatically
will called BNode.Unlock(). So you must have
instance of locker for all time of file using.
delLocker(&lf);
fclose(f);
...it seems to work.
|
 |
|
 |
Latest Version |
 |
|
 |
| |
 |
|
Details about this version:
...some idea.
|
| |
 |
|
Any Processor (4 KB) |
227 downloads |
|
 |
|
 |
 |
| |
  |
[rating: 10] |
|
 |
Primary Location |
|
|
| Add Additional Location |
 |
|
 |
|
| Source Included |
 |
 |
 |
 |
 |
Like this app? Have questions or comments?
Why not tell the author? Use the "e-mail publisher" link to get in touch with the publisher; they usually love getting feedback.
|
|
|