llog API, locking and concurrency
Hello
I'm wondering what is the correct way to use llog_ API regarding locking and concurrencies?
When looking at code, it seems llog already deal with proper locking when several thread access the same llog.
The codes that use this king of log do not seem to add more locking when using it.
Is this correct? llog_* call can be called without taking care of concurrency?
Thanks
Aur?lien
correct, llog is doing serialization internally.
thanks, Alex
Quoted 14 lines · DEGREMONT Aurelien
Hello
I'm wondering what is the correct way to use
llog_API regarding locking and concurrencies?When looking at code, it seems llog already deal with proper locking when several thread access the same llog.
The codes that use this king of log do not seem to add more locking when using it.Is this correct? llog_* call can be called without taking care of concurrency?
Quoted 8 lines
Thanks
Aur?lien
_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20110406/1da732b7/attachment.htm>