Previous  1 | 2  
All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)
No Document.

All Samples(17)  |  Call(11)  |  Derive(0)  |  Import(6)
No Document.

All Samples(13)  |  Call(0)  |  Derive(0)  |  Import(13)
No Document.

All Samples(10)  |  Call(7)  |  Derive(0)  |  Import(3)
sleep(seconds)

Delay execution for a given number of seconds.  The argument may be
a floating point number for subsecond precision.

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
No Document.

All Samples(3)  |  Call(0)  |  Derive(1)  |  Import(2)
No Document.

All Samples(8)  |  Call(6)  |  Derive(0)  |  Import(2)
time() -> floating point number

Return the current time in seconds since the Epoch.
Fractions of a second may be present if the system clock provides them.

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
No Document.

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
allocate_lock() -> lock object
(allocate() is an obsolete synonym)

Create a new lock object.  See LockType.__doc__ for information about locks.

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
start_new_thread(function, args[, kwargs])
(start_new() is an obsolete synonym)

Start a new thread and return its identifier.  The thread will call the
function with positional arguments from the tuple args and keyword arguments
taken from the optional dictionary kwargs.  The thread exits when the
function returns; the return value is ignored.  The thread will also exit
when the function raises an unhandled exception; a stack trace will be
printed unless the exception is SystemExit.

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
No Document.

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
No Document.

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
No Document.

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
No Document.

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
No Document.

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Semaphore that checks that # releases is <= # acquires

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
No Document.

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
No Document.

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
A lock object is a synchronization primitive.  To create a lock,
call the PyThread_allocate_lock() function.  Methods are:

acquire() -- lock the lock, possibly blocking until it can be obtained
release() -- unlock of the lock
locked() -- test whether the lock is currently locked

A lock is not owned by the thread that locked it; another thread may
unlock it.  A thread attempting to lock a lock that it has already locked
will block until another thread unlocks it.  Deadlocks may ensue.

Previous  1 | 2