OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nrunning
(Results
1 - 2
of
2
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_threading.py
32
def __init__(self, name, testcase, sema, mutex,
nrunning
):
37
self.
nrunning
=
nrunning
47
self.
nrunning
.inc()
49
print self.
nrunning
.get(), 'tasks are running'
50
self.testcase.assertTrue(self.
nrunning
.get() <= 3)
57
self.
nrunning
.dec()
58
self.testcase.assertTrue(self.
nrunning
.get() >= 0)
61
self.name, self.
nrunning
.get())
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_threading.py
32
def __init__(self, name, testcase, sema, mutex,
nrunning
):
37
self.
nrunning
=
nrunning
47
self.
nrunning
.inc()
49
print self.
nrunning
.get(), 'tasks are running'
50
self.testcase.assertTrue(self.
nrunning
.get() <= 3)
57
self.
nrunning
.dec()
58
self.testcase.assertTrue(self.
nrunning
.get() >= 0)
61
self.name, self.
nrunning
.get())
Completed in 464 milliseconds