Public Member Functions | |
| ShortIdStock (bool leafflag) | |
| ShortId | newShortId () |
Static Private Member Functions | |
| static void * | stockboy (void *arg) |
Private Attributes | |
| bool | leafflag |
| ShortIdBlock * | block [2] |
| int | usng |
| Basics::mutex | mu |
| Basics::cond | need |
| Basics::cond | have |
| Basics::thread | stockboy_ |
|
|
Definition at line 138 of file SourceOrDerived.C. References block, Basics::thread::fork(), leafflag, stockboy(), stockboy_, and usng. |
|
|
Definition at line 243 of file SourceOrDerived.C. References ShortIdBlock::assignNextAvail(), block, Basics::cond::broadcast(), have, Basics::mutex::lock(), need, Basics::mutex::unlock(), usng, and Basics::cond::wait(). Referenced by SourceOrDerived::create(), and SourceOrDerived::fdcreate(). |
|
|
Definition at line 159 of file SourceOrDerived.C. References ShortIdBlock::acquire(), block, Basics::cond::broadcast(), have, leafflag, ShortIdBlock::leaseExpires, ShortIdBlock::leaseNonexpiring, LeaseSafetyMargin, Basics::mutex::lock(), mu, need, ShortIdBlock::renew(), ShortIdBlock::start, Basics::cond::timedwait(), Basics::mutex::unlock(), usng, and Basics::cond::wait(). Referenced by ShortIdStock(). |
|
|
Definition at line 69 of file SourceOrDerived.C. Referenced by newShortId(), ShortIdStock(), and stockboy(). |
|
|
Definition at line 73 of file SourceOrDerived.C. Referenced by newShortId(), and stockboy(). |
|
|
Definition at line 68 of file SourceOrDerived.C. Referenced by ShortIdStock(), and stockboy(). |
|
|
Definition at line 71 of file SourceOrDerived.C. Referenced by stockboy(). |
|
|
Definition at line 72 of file SourceOrDerived.C. Referenced by newShortId(), and stockboy(). |
|
|
Definition at line 75 of file SourceOrDerived.C. Referenced by ShortIdStock(). |
|
|
Definition at line 70 of file SourceOrDerived.C. Referenced by newShortId(), ShortIdStock(), and stockboy(). |
1.4.2