My Project
Public Member Functions | Public Attributes
MDL_object_lock Class Reference
Inheritance diagram for MDL_object_lock:
MDL_lock

List of all members.

Public Member Functions

 MDL_object_lock (const MDL_key *key_arg, MDL_map_partition *map_part)
void reset (const MDL_key *new_key)
virtual const bitmap_t * incompatible_granted_types_bitmap () const
virtual const bitmap_t * incompatible_waiting_types_bitmap () const
virtual bool needs_notification (const MDL_ticket *ticket) const
virtual void notify_conflicting_locks (MDL_context *ctx)
virtual bitmap_t hog_lock_types_bitmap () const

Public Attributes

MDL_object_locknext_in_cache
MDL_object_lock ** prev_in_cache

Detailed Description

An implementation of a per-object lock. Supports SHARED, SHARED_UPGRADABLE, SHARED HIGH PRIORITY and EXCLUSIVE locks.


Member Function Documentation

Notify threads holding a shared metadata locks on object which conflict with a pending X, SNW or SNRW lock.

Parameters:
ctxMDL_context for current thread.

Implements MDL_lock.

void MDL_object_lock::reset ( const MDL_key new_key) [inline]

Reset unused MDL_object_lock object to represent the lock context for a different object.


Member Data Documentation

Members for linking the object into the list of unused objects.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines