Metodi lock ed unlock in TRegistro_std
git-svn-id: svn://10.65.10.50/trunk@5379 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2822d41d2a
commit
1b1925450d
@ -555,3 +555,17 @@ const TString TRegistro_std::intest() const
|
||||
{
|
||||
return _intest;
|
||||
}
|
||||
|
||||
int TRegistro_std::lock()
|
||||
{
|
||||
TTable reg("REG");
|
||||
reg.put("CODTAB",this->get("CODTAB"));
|
||||
return reg.read(_lock);
|
||||
}
|
||||
|
||||
int TRegistro_std::unlock()
|
||||
{
|
||||
TTable reg("REG");
|
||||
reg.put("CODTAB",this->get("CODTAB"));
|
||||
return reg.read(_unlock);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user