diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-02-24 02:08:23 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2000-02-24 02:08:23 +0000 |
commit | 7dd9359613346715a5522b3e72af3612f40d18a7 (patch) | |
tree | e8c0a68f95e7c16819301ef928eef14ad284ca11 /ace/Synch.i | |
parent | 43fbdead5e8453ef71a27eec23298f6e47676576 (diff) | |
download | ATCD-7dd9359613346715a5522b3e72af3612f40d18a7.tar.gz |
ChangeLogTag:Wed Feb 23 18:58:06 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Synch.i')
-rw-r--r-- | ace/Synch.i | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Synch.i b/ace/Synch.i index f232df780ca..105144193b6 100644 --- a/ace/Synch.i +++ b/ace/Synch.i @@ -56,7 +56,7 @@ ACE_File_Lock::release (short whence, off_t start, off_t len) } ACE_INLINE int -ACE_File_Lock::remove (void) +ACE_File_Lock::remove (int unlink_file) { // ACE_TRACE ("ACE_File_Lock::remove"); @@ -65,7 +65,8 @@ ACE_File_Lock::remove (void) if (this->removed_ == 0) { this->removed_ = 1; - result = ACE_OS::flock_destroy (&this->lock_); + result = ACE_OS::flock_destroy (&this->lock_, + unlink_file); } return result; } |