diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-13 17:41:17 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-01-13 17:44:01 +0530 |
commit | 15472c449d9da05fc1a4277d82c6c2126ae4b81d (patch) | |
tree | 7bf23785eb51953912645ce89b12764470d4ff06 /helper_scripts/start_glusterd.sh | |
parent | 254e67dbd7a35d38dbe7a5f525955adeb86f5939 (diff) |
ping_pong: allocate the memory from heap instead of using the stack address
Currently the stack address of the structure which holds information about
the number of locks, fd etc is passed to the thread doing the locking.
Instead of sending the stack address, allocate memory from the heap and
use that address to send to the other thread.
Change-Id: I417e22aee0eed1fa921982e78239147553886786
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Diffstat (limited to 'helper_scripts/start_glusterd.sh')
0 files changed, 0 insertions, 0 deletions