version 1.56, 2004/07/01 02:26:44
|
version 1.57, 2004/08/12 10:47:43
|
|
|
// Arthur Pichlkostner (via Markus: sedgewick_de@yahoo.de) | // Arthur Pichlkostner (via Markus: sedgewick_de@yahoo.de) |
// Willis White (whiwill@us.ibm.com) PEP 127 and 128 | // Willis White (whiwill@us.ibm.com) PEP 127 and 128 |
// Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase1 | // Brian G. Campbell, EMC (campbell_brian@emc.com) - PEP140/phase1 |
|
// Amit K Arora, IBM (amita@in.ibm.com) for Bug#1090 |
// | // |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
|
|
| |
static Uint32 getNextKey() | static Uint32 getNextKey() |
{ | { |
|
AutoMutex autoMut(_mut); |
_mut.lock( pegasus_thread_self() ) ; |
|
Uint32 ret = _nextKey++; | Uint32 ret = _nextKey++; |
_mut.unlock(); |
|
return ret; | return ret; |
} | } |
| |