portalocker Namespace Reference


Classes

class  LockException

Functions

def lock
def unlock

Variables

list __all__
 LOCK_EX = win32con.LOCKFILE_EXCLUSIVE_LOCK
int LOCK_SH = 0
 LOCK_NB = win32con.LOCKFILE_FAIL_IMMEDIATELY
tuple __overlapped = pywintypes.OVERLAPPED()
tuple log = open('log.txt', "a+")
tuple timestamp = strftime("%m/%d/%Y %H:%M:%S\n", localtime(time()))
tuple dummy = sys.stdin.readline()


Function Documentation

def portalocker::lock (   file,
  flags 
)

Definition at line 90 of file portalocker.py.

def portalocker::unlock (   file  ) 

Definition at line 102 of file portalocker.py.


Variable Documentation

Initial value:

[
    "lock",
    "unlock",
    "LOCK_EX",
    "LOCK_SH",
    "LOCK_NB",
    "LockException",
]

Definition at line 57 of file portalocker.py.

tuple portalocker::__overlapped = pywintypes.OVERLAPPED()

Definition at line 80 of file portalocker.py.

tuple portalocker::dummy = sys.stdin.readline()

Definition at line 143 of file portalocker.py.

portalocker::LOCK_EX = win32con.LOCKFILE_EXCLUSIVE_LOCK

Definition at line 76 of file portalocker.py.

portalocker::LOCK_NB = win32con.LOCKFILE_FAIL_IMMEDIATELY

Definition at line 78 of file portalocker.py.

Definition at line 77 of file portalocker.py.

tuple portalocker::log = open('log.txt', "a+")

Definition at line 136 of file portalocker.py.

Referenced by SRFjqPlotBar::getFormatOutput(), and SRFTagCloud::getTagSizes().

tuple portalocker::timestamp = strftime("%m/%d/%Y %H:%M:%S\n", localtime(time()))

Definition at line 139 of file portalocker.py.

Referenced by SMWStore::updateData().


Generated on Sun Mar 18 07:15:45 2012 for Semantic MediaWiki by  doxygen 1.5.6