|
|
 |
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: |
239 total; 11 recently |
|
|
Page Views: |
6,560 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) |
239 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.
|
|
 |
 |
|
 |
 |
 |
 |
 |
 |
 |
|
|
 |
 |
 |
| |
Recent Downloads - # 1,817
Total Downloads - # 3,315
Total Views - # 3,100
User Ratings - N/A
|
 |
 |
 |
 |
| |
Example Code
|
 |
 |
 |
 |
 |
1. BePodder - 9.80
2. QEMU - 9.68
3. ScummVM - 9.57
4. Jukebox - 9.44
5. Haiku AGP busm... - 9.35
6. cpu_fix - 9.31
7. vim6 - 9.31
8. VNCServer - 9.30
9. Beezer - 9.26
10. HandBrake - 9.25
|
 |
 |
 |
 |
 |
1. Ati Radeon G... - 32,868
2. BeOS 5 Perso... - 32,435
3. Realtek RTL8... - 20,348
4. Ensoniq Audi... - 17,685
5. USB Joystick... - 16,549
6. BePDF - 15,344
7. ATI Rage 128... - 13,351
8. S3 Trio 64 v... - 10,302
9. VLC Media Pla... - 9,521
10. DOSBox - 9,457
|
 |
 |
 |
 |
| You are not logged in.
Login
|
 |
 |
 |
 |
|