Critical Access

 

Critical section protection. 

 

Only one function at a time can be inside the section of your code between "Access_Init" and "Access_End".

 

void          Access_Init( char *str ) ;

void          Access_End( char *str ) ;

 

Since SliceOmatic is multi thread, it is important that only one thread at a time change the database.  So, whenever your module is modifying something in the database, you should surround the section of code where you are doing the modification with these function.