playing with composite functions

Peter Novodvorsky nidd at myxomop.com
Tue Mar 1 10:17:14 GMT 2005


Hello, Tim!

>>>>> On Tue, 01 Mar 2005 09:53:19 +1100
>>>>> "TP" == Tim Potter <tpot at samba.org> wrote:
TP> 
TP> On Tue, 2005-03-01 at 00:50 +0300, Peter Novodvorsky wrote:
>> +/* the stages of this call */
>> +enum appendacl_stage {APPENDACL_OPENPATH, APPENDACL_GET, 
>> +		       APPENDACL_SET, APPENDACL_GETAGAIN, APPENDACL_CLOSEPATH};
TP> 
TP> Peter, just out of curiosity did you see any race conditions between the
TP> SET and the GETAGAIN calls?

In composite functions we have finite state machine and in every state
we wait until all needed operations are finished until we can move to
the following state there shouldn't be race conditions inside
composite function.

Peter.



More information about the samba-technical mailing list