Inherit lock from parent when creating SilcStack child.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 8 Jul 2007 17:26:58 +0000 (17:26 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 8 Jul 2007 17:26:58 +0000 (17:26 +0000)
commit5f8fefbe150117f9b22a82d6b17a9cb4c8800d2d
treef7082c253435df7b11e249e5be19901693bb2bf1
parentbefeb8f188a4a533bb8761d8cb4b02f2241c3bee
Inherit lock from parent when creating SilcStack child.
Check stack blocks from parent if child doesn't have them instead
of immediately allocating new one.  Added silc_stack_purge.
lib/silcutil/silcstack.c
lib/silcutil/silcstack.h
lib/silcutil/tests/test_silcstack.c