Reference Guide C API www.spreadconcepts.com


C API
Replicated Hash Table
Version 2.0


rht_drop
  rht_code rht_drop(rht r, int flags);


Parameters
  r replica handle of replica to lock
  flags must be set to RHT_NO_FLAGS


Return Values
  0 on success
  non-zero for error


Description
  rht_drop decreases the recursive lock count of the calling thread on a replica. When it reaches zero, the lock is released and other threads are allowed to operate on the replica again.


Requirements
  Header: Declared in rht.h
Library: Use rht.lib
Version: 2.0


Also See
  RHT reference guide, local lock operations


Copyright © 2004, Spread Concepts LLC, All rights reserved